Contiki 2.6
|
The UART module multiplexes differenct protocol on the MSB's UART1 interface. More...
Functions | |
void | uart_init (void) |
Initialize the UART module. | |
Variables | |
volatile unsigned char | uart_mode |
Operating state. | |
UART mode flags | |
#define | UART_MODE_RS232 (0x00u) |
RS232 mode. | |
#define | UART_MODE_SPI (0x01u) |
SPI mode. | |
#define | UART_MODE_DEFAULT UART_MODE_RS232 |
#define | UART_NUM_MODES (UART_MODE_SPI + 1) |
Highest mode number. | |
#define | UART_MODE_RESET (0xFFu) |
reset with current settings |
The UART module multiplexes differenct protocol on the MSB's UART1 interface.
Currently RS232 and SPI are supported.
void uart_init | ( | void | ) |
Initialize the UART module.
This function is called from the boot up code to initalize the UART module.
Definition at line 219 of file uart.c.
References uart_clear_rx_buf().