UART1
[Interfaces]

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

Detailed Description

The UART module multiplexes differenct protocol on the MSB's UART1 interface.

Currently RS232 and SPI are supported.


Function Documentation

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().


Generated on Mon Apr 11 14:23:55 2011 for Contiki 2.5 by  doxygen 1.6.1