#include <MbedHardware.h>
Public Member Functions | |
int | getBaud () |
void | init () |
MbedHardware (PinName tx, PinName rx, long baud=57600) | |
MbedHardware () | |
int | read () |
void | setBaud (long baud) |
unsigned long | time () |
void | write (uint8_t *data, int length) |
Protected Attributes | |
long | baud_ |
BufferedSerial | iostream |
Timer | t |
Definition at line 15 of file MbedHardware.h.
MbedHardware::MbedHardware | ( | PinName | tx, |
PinName | rx, | ||
long | baud = 57600 |
||
) | [inline] |
Definition at line 17 of file MbedHardware.h.
MbedHardware::MbedHardware | ( | ) | [inline] |
Definition at line 23 of file MbedHardware.h.
int MbedHardware::getBaud | ( | ) | [inline] |
Definition at line 33 of file MbedHardware.h.
void MbedHardware::init | ( | ) | [inline] |
Definition at line 35 of file MbedHardware.h.
int MbedHardware::read | ( | ) | [inline] |
Definition at line 39 of file MbedHardware.h.
void MbedHardware::setBaud | ( | long | baud | ) | [inline] |
Definition at line 29 of file MbedHardware.h.
unsigned long MbedHardware::time | ( | ) | [inline] |
Definition at line 51 of file MbedHardware.h.
void MbedHardware::write | ( | uint8_t * | data, |
int | length | ||
) | [inline] |
Definition at line 46 of file MbedHardware.h.
long MbedHardware::baud_ [protected] |
Definition at line 55 of file MbedHardware.h.
BufferedSerial MbedHardware::iostream [protected] |
Definition at line 54 of file MbedHardware.h.
Timer MbedHardware::t [protected] |
Definition at line 56 of file MbedHardware.h.