XBee Firmware Library  1.6.0
Functions
uart.h File Reference

Functions

int radio_uart_config (uint32_t baudrate, uint8_t config)
 Initializes and configures the UART module for the radio chip. More...
 
size_t radio_uart_read (void *buf, size_t len)
 
uint8_t radio_uart_write (const uint8_t *buffer, uint8_t len)
 
void radio_uart_write_byte (const uint8_t data)
 
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...
 
size_t uart_read (void *buf, size_t len)
 Reads the specified number of bytes from the RX buffer of the UART. More...
 
size_t uart_write (const void *buf, size_t len)
 Writes an array of bytes to the UART. More...
 

Function Documentation

size_t radio_uart_read ( void *  buf,
size_t  len 
)
uint8_t radio_uart_write ( const uint8_t buffer,
uint8_t  len 
)
void radio_uart_write_byte ( const uint8_t  data)