Public Member Functions | Protected Attributes
EmbeddedLinuxHardware Class Reference

#include <embedded_linux_hardware.h>

List of all members.

Public Member Functions

 EmbeddedLinuxHardware (const char *pn, long baud=57600)
 EmbeddedLinuxHardware ()
int getBaud ()
void init ()
void init (const char *pName)
int read ()
void setBaud (long baud)
unsigned long time ()
void write (uint8_t *data, int length)

Protected Attributes

long baud_
struct timespec start end
int fd
char portName [30]

Detailed Description

Definition at line 31 of file embedded_linux_hardware.h.


Constructor & Destructor Documentation

EmbeddedLinuxHardware::EmbeddedLinuxHardware ( const char *  pn,
long  baud = 57600 
) [inline]

Definition at line 34 of file embedded_linux_hardware.h.

Definition at line 40 of file embedded_linux_hardware.h.


Member Function Documentation

Definition at line 56 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::init ( ) [inline]

Definition at line 61 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::init ( const char *  pName) [inline]

Definition at line 73 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::read ( ) [inline]

Definition at line 85 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::setBaud ( long  baud) [inline]

Definition at line 51 of file embedded_linux_hardware.h.

unsigned long EmbeddedLinuxHardware::time ( ) [inline]

Definition at line 96 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::write ( uint8_t *  data,
int  length 
) [inline]

Definition at line 91 of file embedded_linux_hardware.h.


Member Data Documentation

long EmbeddedLinuxHardware::baud_ [protected]

Definition at line 113 of file embedded_linux_hardware.h.

struct timespec start EmbeddedLinuxHardware::end [protected]

Definition at line 114 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::fd [protected]

Definition at line 111 of file embedded_linux_hardware.h.

char EmbeddedLinuxHardware::portName[30] [protected]

Definition at line 112 of file embedded_linux_hardware.h.


The documentation for this class was generated from the following file:


cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57