Trying to clean up port.
[goodfet] / firmware / include / platform.h
index b315d90..87b18cc 100644 (file)
@@ -1,10 +1,25 @@
-//! \file platform.h
+/*! \file platform.h
+  \author Travis Goodspeed
+  \brief Port and baud rate definitions.
+  
+  The functions specified here are defined in the platform
+  definition file, such as msp430x1612.c or msp430x2618.c.
+*/
 
+#include "gfports.h"
 
 unsigned char serial_rx();
 void serial_tx(unsigned char);
+
+unsigned char serial1_rx();
+void serial1_tx(unsigned char);
+
 void setbaud(unsigned char);
+void setbaud1(unsigned char);
+
+//! Initialize the UART
 void msp430_init_uart();
+//! Initialize the DCO Clock
 void msp430_init_dco();
 
 //LED on P1.0
@@ -12,5 +27,3 @@ void msp430_init_dco();
 #define PLEDDIR P1DIR
 #define PLEDPIN 0x1
 
-
-