2 \author Jean-Michel Picod
3 \brief Constants for CC2500 SPI Driver
13 //Chipcon SPI Commands
15 //Grab a packet, if one is available.
16 #define CC2500_RX 0x80
17 //Keep grabbing packets, ignoring further commands.
18 #define CC2500_REPEAT_RX 0x91
20 #define CC2500_TX 0x81
22 #define CC2500_RX_FLUSH 0x82
24 #define CC2500_TX_FLUSH 0x83
26 //Register definitions might go here, at least for buffers.
27 #define CC2500_TXFIFO 0x3F
28 #define CC2500_RXFIFO 0xBF
29 #define CC2500_SFLUSHRX 0x3A
30 #define CC2500_SFLUSHTX 0x3B
33 #define CC2500_SRX 0x34
34 #define CC2500_STX 0x35
35 #define CC2500_SNOP 0x3D
36 #define CC2500_SIDLE 0x36
38 #define CC2500_RXBYTES 0xFB // WARN: Burst bit is ON !
40 extern app_t const cc2500_app;