#include <EmbeddedLinuxHardware.h>
Public Member Functions | |
EmbeddedLinuxHardware (char *pn, long baud=57600) | |
EmbeddedLinuxHardware () | |
int | getBaud () |
void | init () |
void | init (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] |
Definition at line 48 of file EmbeddedLinuxHardware.h.
EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | char * | pn, |
long | baud = 57600 |
||
) | [inline] |
Definition at line 50 of file EmbeddedLinuxHardware.h.
EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | ) | [inline] |
Definition at line 54 of file EmbeddedLinuxHardware.h.
int EmbeddedLinuxHardware::getBaud | ( | ) | [inline] |
Definition at line 69 of file EmbeddedLinuxHardware.h.
void EmbeddedLinuxHardware::init | ( | ) | [inline] |
Definition at line 71 of file EmbeddedLinuxHardware.h.
void EmbeddedLinuxHardware::init | ( | char * | pName | ) | [inline] |
Definition at line 81 of file EmbeddedLinuxHardware.h.
int EmbeddedLinuxHardware::read | ( | ) | [inline] |
Definition at line 91 of file EmbeddedLinuxHardware.h.
void EmbeddedLinuxHardware::setBaud | ( | long | baud | ) | [inline] |
Definition at line 65 of file EmbeddedLinuxHardware.h.
unsigned long EmbeddedLinuxHardware::time | ( | ) | [inline] |
Definition at line 109 of file EmbeddedLinuxHardware.h.
void EmbeddedLinuxHardware::write | ( | uint8_t * | data, |
int | length | ||
) | [inline] |
Definition at line 100 of file EmbeddedLinuxHardware.h.
long EmbeddedLinuxHardware::baud_ [protected] |
Definition at line 126 of file EmbeddedLinuxHardware.h.
struct timespec start EmbeddedLinuxHardware::end [protected] |
Definition at line 127 of file EmbeddedLinuxHardware.h.
int EmbeddedLinuxHardware::fd [protected] |
Definition at line 124 of file EmbeddedLinuxHardware.h.
char EmbeddedLinuxHardware::portName[30] [protected] |
Definition at line 125 of file EmbeddedLinuxHardware.h.