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

#include <tivac_hardware.h>

Public Member Functions

void delay (uint32_t ms)
 
void delay (uint32_t ms)
 
int getBaud ()
 
uint32_t getSysClkFreq (void)
 
uint32_t getSysClkFreq (void)
 
void init ()
 
void init ()
 
void init ()
 
int read ()
 
int read ()
 
int read ()
 
void setBaud (long baud)
 
unsigned long time ()
 
uint32_t time ()
 
uint32_t time ()
 
 TivaCHardware (SERIAL_CLASS *io, long baud=57600)
 
 TivaCHardware ()
 
 TivaCHardware (TivaCHardware &h)
 
 TivaCHardware ()
 
 TivaCHardware ()
 
void write (uint8_t *data, int length)
 
void write (uint8_t *data, int length)
 
void write (uint8_t *data, int length)
 

Static Public Member Functions

static void SystickIntHandler ()
 
static void SystickIntHandler ()
 
static void UARTIntHandler ()
 

Public Attributes

uint32_t ui32SysClkFreq
 
uint8_t ui8rxBufferData [RX_BUFFER_SIZE]
 
uint8_t ui8txBufferData [TX_BUFFER_SIZE]
 

Protected Attributes

long baud_
 
SERIAL_CLASSiostream
 

Detailed Description

Definition at line 83 of file tivac_hardware.h.

Constructor & Destructor Documentation

TivaCHardware::TivaCHardware ( )
inline

Definition at line 86 of file tivac_hardware.h.

TivaCHardware::TivaCHardware ( )
inline

Definition at line 85 of file tivac_hardware_usb.h.

TivaCHardware::TivaCHardware ( SERIAL_CLASS io,
long  baud = 57600 
)
inline

Definition at line 49 of file TivaCHardware.h.

TivaCHardware::TivaCHardware ( )
inline

Definition at line 54 of file TivaCHardware.h.

TivaCHardware::TivaCHardware ( TivaCHardware h)
inline

Definition at line 59 of file TivaCHardware.h.

Member Function Documentation

void TivaCHardware::delay ( uint32_t  ms)
inline

Definition at line 200 of file tivac_hardware_usb.h.

void TivaCHardware::delay ( uint32_t  ms)
inline

Definition at line 226 of file tivac_hardware.h.

int TivaCHardware::getBaud ( )
inline

Definition at line 68 of file TivaCHardware.h.

uint32_t TivaCHardware::getSysClkFreq ( void  )
inline

Definition at line 193 of file tivac_hardware_usb.h.

uint32_t TivaCHardware::getSysClkFreq ( void  )
inline

Definition at line 219 of file tivac_hardware.h.

void TivaCHardware::init ( )
inline

Definition at line 70 of file TivaCHardware.h.

void TivaCHardware::init ( )
inline

Definition at line 87 of file tivac_hardware_usb.h.

void TivaCHardware::init ( )
inline

Definition at line 88 of file tivac_hardware.h.

int TivaCHardware::read ( )
inline

Definition at line 74 of file TivaCHardware.h.

int TivaCHardware::read ( )
inline

Definition at line 143 of file tivac_hardware.h.

int TivaCHardware::read ( )
inline

Definition at line 145 of file tivac_hardware_usb.h.

void TivaCHardware::setBaud ( long  baud)
inline

Definition at line 64 of file TivaCHardware.h.

static void TivaCHardware::SystickIntHandler ( )
inlinestatic

Definition at line 179 of file tivac_hardware_usb.h.

static void TivaCHardware::SystickIntHandler ( )
inlinestatic

Definition at line 205 of file tivac_hardware.h.

unsigned long TivaCHardware::time ( )
inline

Definition at line 80 of file TivaCHardware.h.

uint32_t TivaCHardware::time ( )
inline

Definition at line 167 of file tivac_hardware.h.

uint32_t TivaCHardware::time ( )
inline

Definition at line 173 of file tivac_hardware_usb.h.

static void TivaCHardware::UARTIntHandler ( )
inlinestatic

Definition at line 179 of file tivac_hardware.h.

void TivaCHardware::write ( uint8_t *  data,
int  length 
)
inline

Definition at line 75 of file TivaCHardware.h.

void TivaCHardware::write ( uint8_t *  data,
int  length 
)
inline

Definition at line 152 of file tivac_hardware.h.

void TivaCHardware::write ( uint8_t *  data,
int  length 
)
inline

Definition at line 161 of file tivac_hardware_usb.h.

Member Data Documentation

long TivaCHardware::baud_
protected

Definition at line 84 of file TivaCHardware.h.

SERIAL_CLASS* TivaCHardware::iostream
protected

Definition at line 83 of file TivaCHardware.h.

uint32_t TivaCHardware::ui32SysClkFreq

Definition at line 218 of file tivac_hardware.h.

uint8_t TivaCHardware::ui8rxBufferData[RX_BUFFER_SIZE]

Definition at line 173 of file tivac_hardware.h.

uint8_t TivaCHardware::ui8txBufferData[TX_BUFFER_SIZE]

Definition at line 174 of file tivac_hardware.h.


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


rosserial_tivac
Author(s): Vitor Matos, Vitor Matos
autogenerated on Mon Jun 10 2019 14:53:43