4 #include "contiki-conf.h"
12 #ifdef UART1_CONF_ENABLE
13 #define UART1_ENABLE UART1_CONF_ENABLE
15 #define UART1_ENABLE 0
21 void uart1_writeb(uint8_t byte);
23 void uart1_set_input(
int (* input)(
unsigned char c));
24 #if UART1_CONF_WITH_INPUT
25 void uart1_rx_isr(
void) __interrupt(URX1_VECTOR);
27 #define UART1_RX_INT(v) do { URX1IE = v; } while(0)
29 #define UART1_RX_INT(v)
32 #define uart1_init(...)
33 #define uart1_writeb(...)
34 #define uart1_set_input(...)
35 #define UART1_RX_INT(v)
void uart1_init(unsigned long ubr)
Initalize the RS232 port.
Definitions for TI/Chipcon cc2530, cc2531 and cc2533 SFR registers.