Lines Matching +full:0 +full:- +full:7

1 /* ieee802154_rf2xx_regs.h - ATMEL RF2XX transceiver registers */
6 * SPDX-License-Identifier: Apache-2.0
12 /*- Definitions ------------------------------------------------------------*/
27 #define RF2XX_RSSI_BPSK_20 -100
28 #define RF2XX_RSSI_BPSK_40 -99
29 #define RF2XX_RSSI_OQPSK_SIN_RC_100 -98
30 #define RF2XX_RSSI_OQPSK_SIN_250 -97
31 #define RF2XX_RSSI_OQPSK_RC_250 -97
33 /*- Types ------------------------------------------------------------------*/
34 #define RF2XX_TRX_STATUS_REG 0x01
35 #define RF2XX_TRX_STATE_REG 0x02
36 #define RF2XX_TRX_CTRL_0_REG 0x03
37 #define RF2XX_TRX_CTRL_1_REG 0x04
38 #define RF2XX_PHY_TX_PWR_REG 0x05
39 #define RF2XX_PHY_RSSI_REG 0x06
40 #define RF2XX_PHY_ED_LEVEL_REG 0x07
41 #define RF2XX_PHY_CC_CCA_REG 0x08
42 #define RF2XX_CCA_THRES_REG 0x09
43 #define RF2XX_RX_CTRL_REG 0x0a
44 #define RF2XX_SFD_VALUE_REG 0x0b
45 #define RF2XX_TRX_CTRL_2_REG 0x0c
46 #define RF2XX_ANT_DIV_REG 0x0d
47 #define RF2XX_IRQ_MASK_REG 0x0e
48 #define RF2XX_IRQ_STATUS_REG 0x0f
49 #define RF2XX_VREG_CTRL_REG 0x10
50 #define RF2XX_BATMON_REG 0x11
51 #define RF2XX_XOSC_CTRL_REG 0x12
52 #define RF2XX_CC_CTRL_0_REG 0x13
53 #define RF2XX_CC_CTRL_1_REG 0x14
54 #define RF2XX_RX_SYN_REG 0x15
55 #define RF2XX_TRX_RPC_REG 0x16
56 #define RF2XX_RF_CTRL_0_REG 0x16
57 #define RF2XX_XAH_CTRL_1_REG 0x17
58 #define RF2XX_FTN_CTRL_REG 0x18
59 #define RF2XX_RF_CTRL_1_REG 0x19
60 #define RF2XX_XAH_CTRL_2_REG 0x19
61 #define RF2XX_PLL_CF_REG 0x1a
62 #define RF2XX_PLL_DCU_REG 0x1b
63 #define RF2XX_PART_NUM_REG 0x1c
64 #define RF2XX_VERSION_NUM_REG 0x1d
65 #define RF2XX_MAN_ID_0_REG 0x1e
66 #define RF2XX_MAN_ID_1_REG 0x1f
67 #define RF2XX_SHORT_ADDR_0_REG 0x20
68 #define RF2XX_SHORT_ADDR_1_REG 0x21
69 #define RF2XX_PAN_ID_0_REG 0x22
70 #define RF2XX_PAN_ID_1_REG 0x23
71 #define RF2XX_IEEE_ADDR_0_REG 0x24
72 #define RF2XX_IEEE_ADDR_1_REG 0x25
73 #define RF2XX_IEEE_ADDR_2_REG 0x26
74 #define RF2XX_IEEE_ADDR_3_REG 0x27
75 #define RF2XX_IEEE_ADDR_4_REG 0x28
76 #define RF2XX_IEEE_ADDR_5_REG 0x29
77 #define RF2XX_IEEE_ADDR_6_REG 0x2a
78 #define RF2XX_IEEE_ADDR_7_REG 0x2b
79 #define RF2XX_XAH_CTRL_0_REG 0x2c
80 #define RF2XX_CSMA_SEED_0_REG 0x2d
81 #define RF2XX_CSMA_SEED_1_REG 0x2e
82 #define RF2XX_CSMA_BE_REG 0x2f
83 #define RF2XX_TST_CTRL_DIGI_REG 0x36
84 #define RF2XX_PHY_TX_TIME_REG 0x3b
85 #define RF2XX_PHY_PMU_VALUE_REG 0x3b
86 #define RF2XX_TST_AGC_REG 0x3c
87 #define RF2XX_TST_SDM_REG 0x3d
89 #define RF2XX_AES_STATUS_REG 0x82
90 #define RF2XX_AES_CTRL_REG 0x83
91 #define RF2XX_AES_KEY_REG 0x84
92 #define RF2XX_AES_STATE_REG 0x84
93 #define RF2XX_AES_CTRL_M_REG 0x94
96 #define RF2XX_CCA_DONE 7
98 #define RF2XX_TRX_STATUS 0
102 #define RF2XX_TRX_CMD 0
103 #define RF2XX_TRAC_BIT_MASK 7
106 #define RF2XX_TOM_EN 7
112 #define RF2XX_CLKM_CTRL 0
115 #define RF2XX_PA_EXT_EN 7
121 #define RF2XX_IRQ_POLARITY 0
124 #define RF2XX_PA_BOOST 7
128 #define RF2XX_TX_PWR 0
131 #define RF2XX_RX_CRC_VALID 7
133 #define RF2XX_RSSI 0
134 #define RF2XX_RSSI_MASK 0x1F
137 #define RF2XX_CCA_REQUEST 7
139 #define RF2XX_CHANNEL 0
143 #define RF2XX_CCA_ED_THRES 0
148 #define RF2XX_PDT_THRES 0
151 #define RF2XX_RX_SAFE_MODE 7
158 #define RF2XX_OQPSK_DATA_RATE 0
159 #define RF2XX_SUB_CHANNEL_MASK 0x3F
160 #define RF2XX_CC_BPSK_20 0x00
161 #define RF2XX_CC_BPSK_40 0x04
162 #define RF2XX_CC_OQPSK_SIN_RC_100 0x08
163 #define RF2XX_CC_OQPSK_SIN_250 0x0C
164 #define RF2XX_CC_OQPSK_RC_250 0x1C
167 #define RF2XX_ANT_SEL 7
170 #define RF2XX_ANT_CTRL 0
173 #define RF2XX_BAT_LOW 7
180 #define RF2XX_PLL_LOCK 0
183 #define RF2XX_AVREG_EXT 7
189 #define RF2XX_PLL_LOCK_CP 7
192 #define RF2XX_BATMON_VTH 0
196 #define RF2XX_XTAL_TRIM 0
199 #define RF2XX_CC_BAND 0
202 #define RF2XX_RX_PDT_DIS 7
204 #define RF2XX_RX_PDT_LEVEL 0
217 #define RF2XX_GC_TX_OFFS 0
221 #define RF2XX_ARET_TX_TS_EN 7
227 #define RF2XX_AACK_SPC_EN 0
230 #define RF2XX_FTN_START 7
231 #define RF2XX_FTNV 0
241 #define RF2XX_PLL_CF_START 7
242 #define RF2XX_PLL_CF 0
245 #define RF2XX_PLL_DCU_START 7
250 #define RF2XX_SLOTTED_OPERATION 0
257 #define RF2XX_CSMA_SEED_1 0
261 #define RF2XX_MIN_BE 0
264 #define RF2XX_TST_CTRL_DIG 0
267 #define RF2XX_IRC_TX_TIME 0
274 #define RF2XX_GC 0
277 #define RF2XX_MOD_SEL 7
285 #define RF2XX_AES_CTRL_REQUEST 7
288 #define RF2XX_AES_STATUS_DONE 0
289 #define RF2XX_AES_STATUS_ER 7
291 #define RF2XX_RF_CMD_REG_W ((1 << 7) | (1 << 6))
292 #define RF2XX_RF_CMD_REG_R ((1 << 7) | (0 << 6))
293 #define RF2XX_RF_CMD_FRAME_W ((0 << 7) | (1 << 6) | (1 << 5))
294 #define RF2XX_RF_CMD_FRAME_R ((0 << 7) | (0 << 6) | (1 << 5))
295 #define RF2XX_RF_CMD_SRAM_W ((0 << 7) | (1 << 6) | (0 << 5))
296 #define RF2XX_RF_CMD_SRAM_R ((0 << 7) | (0 << 6) | (0 << 5))