#include <embedded_linux_hardware.h>
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] |
Definition at line 48 of file embedded_linux_hardware.h.
EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | const char * | pn, |
long | baud = 57600 |
||
) | [inline] |
Definition at line 51 of file embedded_linux_hardware.h.
EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | ) | [inline] |
Definition at line 57 of file embedded_linux_hardware.h.
int EmbeddedLinuxHardware::getBaud | ( | ) | [inline] |
Definition at line 73 of file embedded_linux_hardware.h.
void EmbeddedLinuxHardware::init | ( | ) | [inline] |
Definition at line 78 of file embedded_linux_hardware.h.
void EmbeddedLinuxHardware::init | ( | const char * | pName | ) | [inline] |
Definition at line 90 of file embedded_linux_hardware.h.
int EmbeddedLinuxHardware::read | ( | ) | [inline] |
Definition at line 102 of file embedded_linux_hardware.h.
void EmbeddedLinuxHardware::setBaud | ( | long | baud | ) | [inline] |
Definition at line 68 of file embedded_linux_hardware.h.
unsigned long EmbeddedLinuxHardware::time | ( | ) | [inline] |
Definition at line 113 of file embedded_linux_hardware.h.
void EmbeddedLinuxHardware::write | ( | uint8_t * | data, |
int | length | ||
) | [inline] |
Definition at line 108 of file embedded_linux_hardware.h.
long EmbeddedLinuxHardware::baud_ [protected] |
Definition at line 130 of file embedded_linux_hardware.h.
struct timespec start EmbeddedLinuxHardware::end [protected] |
Definition at line 131 of file embedded_linux_hardware.h.
int EmbeddedLinuxHardware::fd [protected] |
Definition at line 128 of file embedded_linux_hardware.h.
char EmbeddedLinuxHardware::portName[30] [protected] |
Definition at line 129 of file embedded_linux_hardware.h.