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
36 //TelosB uses second serial port.
37 #define serial_tx serial1_tx
38 #define serial_rx serial1_rx
39 #define setbaud setbaud1
40 #define msp430_init_uart msp430_init_uart1
42 //Other targets use first uart.
43 #define serial_tx serial0_tx
44 #define serial_rx serial0_rx
45 #define setbaud setbaud0
46 #define msp430_init_uart msp430_init_uart0
49 unsigned char serial0_rx();
50 void serial0_tx(unsigned char);
52 unsigned char serial1_rx();
53 void serial1_tx(unsigned char);
55 void setbaud0(unsigned char);
56 void setbaud1(unsigned char);
58 //! Initialize the UART
59 void msp430_init_uart0();
60 //! Initialize the UART
61 void msp430_init_uart1();
63 //! Initialize the DCO Clock
64 void msp430_init_dco();
65 //! Called by monitor() when the DCO is correct and communication established.
66 void msp430_init_dco_done();