Public Member Functions | Protected Attributes | List of all members
MbedHardware Class Reference

#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
 

Detailed Description

Definition at line 15 of file MbedHardware.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

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.


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


rosserial_mbed
Author(s): Gary Servin
autogenerated on Fri Jun 7 2019 22:02:48