2 \author Travis Goodspeed
3 \brief Port descriptions for the TelosB platform.
5 This file defines the Telos B hardware, so that the GoodFET firmware
6 may be loaded onto it. Adjustments include the !CS line of the CC2420
7 radio, the choice of serial port, and the LEDs.
27 /* For the radio to be used:
28 4.6 (!RST) must be low
29 4.5 (VREF_EN) must be high
30 4.2 (!CS) must be low for the transaction.
33 #define INITPLATFORM \
48 //#define SETSS P4OUT|=BIT2
49 //#define CLRSS P4OUT&=~BIT2
50 //#define DIRSS P4DIR|=BIT2
53 #define SETSS P4OUT|=BIT4
54 #define CLRSS P4OUT&=~BIT4
55 #define DIRSS P4DIR|=BIT4
59 #define SETCE P4OUT|=BIT6
60 #define CLRCE P4OUT&=~BIT6
61 #define DIRCE P4DIR|=BIT6