44#include <PeripheralRegs.h>
49#define UART1_DEFAULT_RX_BUFFER_SIZE 16
50#define UART1_DEFAULT_TX_BUFFER_SIZE 16
53#ifdef UART1_CONF_TX_BUFFER_SIZE
54#define UART1_TX_BUFFER_SIZE UART1_CONF_TX_BUFFER_SIZE
56#define UART1_TX_BUFFER_SIZE UART1_DEFAULT_TX_BUFFER_SIZE
59#ifdef UART1_CONF_RX_BUFFER_SIZE
60#define UART1_RX_BUFFER_SIZE UART1_CONF_RX_BUFFER_SIZE
62#define UART1_RX_BUFFER_SIZE UART1_DEFAULT_RX_BUFFER_SIZE
65void uart1_set_input(
int (*
input)(
unsigned char c));
66void uart1_writeb(
unsigned char c);
69#define uart1_write_direct(c) uart_driver_write_direct(E_AHI_UART_1, (c))
70#define uart1_disable_interrupts() uart_driver_disable_interrupts(E_AHI_UART_1)
71#define uart1_enable_interrupts() uart_driver_enable_interrupts(E_AHI_UART_1)
72#define uart1_restore_interrupts() uart_driver_restore_interrupts(E_AHI_UART_1)
73#define uart1_store_interrupts() uart_driver_store_interrupts(E_AHI_UART_1)
75uint8_t uart1_active(
void);
void uart1_init(unsigned long ubr)
Initalize the RS232 port.
static void input(void)
Process a received 6lowpan packet.