2 \author Travis Goodspeed
3 \brief Port and baud rate definitions.
5 The functions specified here are defined in the platform
6 definition file, such as msp430x1612.c or msp430x2618.c.
27 void led_init(); //deprecated
31 #if defined telosb || defined apimote
42 //TelosB and the ApiMote use the second serial port.
43 #define serial_tx serial1_tx
44 #define serial_rx serial1_rx
45 #define setbaud setbaud1
46 #define msp430_init_uart msp430_init_uart1
48 //Other targets use first uart.
49 #define serial_tx serial0_tx
50 #define serial_rx serial0_rx
51 #define setbaud setbaud0
52 #define msp430_init_uart msp430_init_uart0
55 unsigned char serial0_rx();
56 void serial0_tx(unsigned char);
58 unsigned char serial1_rx();
59 void serial1_tx(unsigned char);
61 void setbaud0(unsigned char);
62 void setbaud1(unsigned char);
64 //! Initialize the UART
65 void msp430_init_uart0();
66 //! Initialize the UART
67 void msp430_init_uart1();
69 //! Initialize the DCO Clock
70 void msp430_init_dco();
71 //! Called by monitor() when the DCO is correct and communication established.
72 void msp430_init_dco_done();