XBee Firmware Library  1.6.0
Functions | Variables
uart.c File Reference

Functions

int printf_void (const char *s,...)
 
int radio_uart_config (uint32_t baudrate, uint8_t config)
 Initializes and configures the UART module for the radio chip. More...
 
void radio_uart_rx_data (void)
 
int scanf_void (const char *s,...)
 
char TERMIO_GetChar (void)
 
void TERMIO_PutChar (char c)
 
size_t uart_bytes_in_rx_buffer (void)
 Returns the number of bytes that are available to be read from the RX buffer of the UART. More...
 
int uart_config (uint32_t baudrate, uint8_t config)
 Initializes and configures the UART module. More...
 
void uart_isr (void)
 On reception interrupt service routine of the UART module. Called when any data or error is received by the UART. More...
 
size_t uart_read (void *buf, size_t len)
 Reads the specified number of bytes from the RX buffer of the UART. More...
 
void uart_rx_data (void)
 
size_t uart_write (const void *buf, size_t len)
 Writes an array of bytes to the UART. More...
 

Variables

union {
   xbee_cbuf_t   cbuf
 
   uint8_t   raw [RADIO_UART_CFG_RX_BUF_LEN+XBEE_CBUF_OVERHEAD]
 
ember_rxbuf
 

Function Documentation

int printf_void ( const char *  s,
  ... 
)
void radio_uart_rx_data ( void  )
int scanf_void ( const char *  s,
  ... 
)
char TERMIO_GetChar ( void  )
void TERMIO_PutChar ( char  c)
void uart_rx_data ( void  )

Variable Documentation

union { ... } ember_rxbuf
uint8_t raw[RADIO_UART_CFG_RX_BUF_LEN+XBEE_CBUF_OVERHEAD]