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.
14 //Use P3 instead of P5 for target I/O on chips without P5.
15 #ifndef __MSP430_HAS_PORT5__
16 #ifndef __MSP430_HAS_PORT5_R__
17 #warning "No P5, using P3 instead. Will break 2618 and 1612 support."
26 //Use false P5REN for 1612.
27 #ifdef __MSP430_HAS_PORT5__
28 #ifndef __MSP430_HAS_PORT5_R__
29 #warning "1xx, using fake P5REN for external pulling resistors."
34 unsigned char serial_rx();
35 void serial_tx(unsigned char);
37 unsigned char serial1_rx();
38 void serial1_tx(unsigned char);
40 void setbaud(unsigned char);
41 void setbaud1(unsigned char);
43 //! Initialize the UART
44 void msp430_init_uart();
45 //! Initialize the DCO Clock
46 void msp430_init_dco();