source: PlatformSupport/Deprecated/pcores/radio_controller_v1_02_a/driver/radio_controller.h

Last change on this file was 83, checked in by murphpo, 18 years ago

adding header for radio controller driver

File size: 1.5 KB
Line 
1//Register bit masks for reading
2#define RADIO_RSSI_ADC_D        0x3ff       //Bits [9:0]
3#define RADIO_TX_DAC_RESET      0x400       //Bit 10
4#define RADIO_TX_DAC_PLL_LOCK   0x800       //Bit 11
5#define RADIO_RSSI_ADC_OTR      0x1000      //Bit 12
6#define RADIO_DIPSW             0x1E000     //Bits [16:13]
7#define RADIO_ADC_RX_PWDNB      0x20000     //Bit 17
8#define RADIO_ADC_RX_PWDNA      0x40000     //Bit 18
9#define RADIO_ADC_RX_OTRB       0x80000     //Bit 19
10#define RADIO_ADC_RX_OTRA       0x100000    //Bit 20
11#define RADIO_ADC_RX_DFS        0x200000    //Bit 21
12#define RADIO_ADC_RX_DCS        0x400000    //Bit 22
13#define RADIO_ANTSW             0x1800000   //Bits [24:23]
14#define RADIO_5PA               0x2000000   //Bit 25
15#define RADIO_24PA              0x4000000   //Bit 26
16#define RADIO_LD                0x8000000   //Bit 27
17#define RADIO_RXHP              0x10000000  //Bit 28
18#define RADIO_RXEN              0x20000000  //Bit 29
19#define RADIO_TXEN              0x40000000  //Bit 30
20#define RADIO_SHDN              0x80000000  //Bit 31
21
22//Register bit masks for writing
23#define RADIO_TX_DAC_RESET      0x400       //Bit 10
24#define RSSI_ADC_SLEEP          0x10000     //Bit 16
25#define RADIO_ADC_RX_PWDNB      0x20000     //Bit 17
26#define RADIO_ADC_RX_PWDNA      0x40000     //Bit 18
27#define RADIO_LED0              0x80000     //Bit 19
28#define RADIO_LED1              0x100000    //Bit 20
29#define RADIO_LED2              0x200000    //Bit 21
30#define RADIO_ADC_RX_DCS        0x400000    //Bit 22
31#define RADIO_ANTSW             0x1800000   //Bits [24:23]
32#define RADIO_5PA               0x2000000   //Bit 25
33#define RADIO_24PA              0x4000000   //Bit 26
34#define RADIO_RXHP              0x10000000  //Bit 28
35#define RADIO_RXEN              0x20000000  //Bit 29
36#define RADIO_TXEN              0x40000000  //Bit 30
37#define RADIO_SHDN              0x80000000  //Bit 31
Note: See TracBrowser for help on using the repository browser.