Closer to harmonizing different platforms.
[goodfet] / firmware / platforms / nhbadge.h
1 /*! \file nhbadge.h
2   \author Travis Goodspeed
3   \brief Port descriptions for the Next Hope Badge.
4 */
5
6
7 //LED on P1.0
8 #define PLEDOUT P1OUT
9 #define PLEDDIR P1DIR
10 #define PLEDPIN BIT0
11
12
13 //No longer works for Hope badge.
14 #define SETSS P5OUT|=BIT4
15 #define CLRSS P5OUT&=~BIT4
16 #define DIRSS P5DIR|=BIT4;
17
18 //BIT5 is Chip Enable
19 //#define RADIOACTIVE  P5OUT|=BIT5
20 //#define RADIOPASSIVE P5OUT&=~BIT5
21 #define SETCE P5OUT|=BIT5
22 #define CLRCE P5OUT&=~BIT5
23 #define DIRCE P5DIR|=BIT5