OpenWSN Firmware
Uart

Cross-platform declaration "uart" bsp module. More...

Typedefs

typedef void(* uart_tx_cbt )(void)
 
typedef void(* uart_rx_cbt )(void)
 

Enumerations

enum  uart_event_t { UART_EVENT_THRES, UART_EVENT_OVERFLOW }
 

Functions

void uart_init (void)
 
void uart_setCallbacks (uart_tx_cbt txCb, uart_rx_cbt rxCb)
 
void uart_enableInterrupts (void)
 
void uart_disableInterrupts (void)
 
void uart_clearRxInterrupts (void)
 
void uart_clearTxInterrupts (void)
 
void uart_writeByte (uint8_t byteToWrite)
 
uint8_t uart_readByte (void)
 
kick_scheduler_t uart_tx_isr (void)
 
kick_scheduler_t uart_rx_isr (void)
 

Detailed Description

Cross-platform declaration "uart" bsp module.

Author
Thomas Watteyne watte.nosp@m.yne@.nosp@m.eecs..nosp@m.berk.nosp@m.eley..nosp@m.edu, February 2012.

Typedef Documentation

typedef void(* uart_rx_cbt)(void)
typedef void(* uart_tx_cbt)(void)

Enumeration Type Documentation

Enumerator
UART_EVENT_THRES 
UART_EVENT_OVERFLOW 

Function Documentation

void uart_clearRxInterrupts ( void  )
void uart_clearTxInterrupts ( void  )
void uart_disableInterrupts ( void  )
void uart_enableInterrupts ( void  )
void uart_init ( void  )
uint8_t uart_readByte ( void  )
kick_scheduler_t uart_rx_isr ( void  )
void uart_setCallbacks ( uart_tx_cbt  txCb,
uart_rx_cbt  rxCb 
)
kick_scheduler_t uart_tx_isr ( void  )
void uart_writeByte ( uint8_t  byteToWrite)