#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) |
| void | write (uint8_t *data, int length) |
Protected Attributes | |
| long | baud_ |
| int | fd |
| char | portName [30] |
Definition at line 59 of file embedded_linux_hardware.h.
| EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | const char * | pn, |
| long | baud = 57600 |
||
| ) | [inline] |
Definition at line 62 of file embedded_linux_hardware.h.
| EmbeddedLinuxHardware::EmbeddedLinuxHardware | ( | ) | [inline] |
Definition at line 68 of file embedded_linux_hardware.h.
| int EmbeddedLinuxHardware::getBaud | ( | ) | [inline] |
Definition at line 84 of file embedded_linux_hardware.h.
| void EmbeddedLinuxHardware::init | ( | ) | [inline] |
Definition at line 89 of file embedded_linux_hardware.h.
| void EmbeddedLinuxHardware::init | ( | const char * | pName | ) | [inline] |
Definition at line 102 of file embedded_linux_hardware.h.
| int EmbeddedLinuxHardware::read | ( | ) | [inline] |
Definition at line 115 of file embedded_linux_hardware.h.
| void EmbeddedLinuxHardware::setBaud | ( | long | baud | ) | [inline] |
Definition at line 79 of file embedded_linux_hardware.h.
| void EmbeddedLinuxHardware::write | ( | uint8_t * | data, |
| int | length | ||
| ) | [inline] |
Definition at line 121 of file embedded_linux_hardware.h.
long EmbeddedLinuxHardware::baud_ [protected] |
Definition at line 163 of file embedded_linux_hardware.h.
int EmbeddedLinuxHardware::fd [protected] |
Definition at line 161 of file embedded_linux_hardware.h.
char EmbeddedLinuxHardware::portName[30] [protected] |
Definition at line 162 of file embedded_linux_hardware.h.