f7e924647f3496ae048ff1127f4ea7350ae202e7
[goodfet] / firmware / include / platform.h
1 //! \file platform.h
2
3 unsigned char serial_rx();
4 void serial_tx(unsigned char);
5
6 unsigned char serial1_rx();
7 void serial1_tx(unsigned char);
8
9 void setbaud(unsigned char);
10 void setbaud1(unsigned char);
11
12 //! Initialize the UART
13 void msp430_init_uart();
14 //! Initialize the DCO Clock
15 void msp430_init_dco();
16
17 //LED on P1.0
18 #define PLEDOUT P1OUT
19 #define PLEDDIR P1DIR
20 #define PLEDPIN 0x1
21