Unnecessary definition.
[goodfet] / firmware / include / platform.h
1 /*! \file platform.h
2   \author Travis Goodspeed
3   \brief Port and baud rate definitions.
4   
5   The functions specified here are defined in the platform
6   definition file, such as msp430x1612.c or msp430x2618.c.
7 */
8
9 #include <signal.h>
10 #include <io.h>
11 #include <iomacros.h>
12
13 #include "gfports.h"
14
15 unsigned char serial_rx();
16 void serial_tx(unsigned char);
17
18 unsigned char serial1_rx();
19 void serial1_tx(unsigned char);
20
21 void setbaud(unsigned char);
22 void setbaud1(unsigned char);
23
24 //! Initialize the UART
25 void msp430_init_uart();
26 //! Initialize the DCO Clock
27 void msp430_init_dco();
28
29 //LED on P1.0
30 #define PLEDOUT P1OUT
31 #define PLEDDIR P1DIR
32 #define PLEDPIN 0x1
33