Lines Matching +full:7 +full:- +full:bit
1 /* ieee802154_cc2520_regs.h - Registers definition for TI CC2520 */
6 * SPDX-License-Identifier: Apache-2.0
63 #define FRMFILT0_FRAME_FILTER_EN BIT(0)
64 #define FRMFILT0_PAN_COORDINATOR BIT(1)
68 #define FRMFILT1_ACCEPT_FT_0_BEACON BIT(3)
69 #define FRMFILT1_ACCEPT_FT_1_DATA BIT(4)
70 #define FRMFILT1_ACCEPT_FT_2_ACK BIT(5)
71 #define FRMFILT1_ACCEPT_FT_3_MAC_CMD BIT(6)
78 #define SRCMATCH_SRC_MATCH_EN BIT(0)
79 #define SRCMATCH_AUTOPEND BIT(1)
80 #define SRCMATCH_PEND_DATAREQ_ONLY BIT(2)
93 #define FRMCTRL0_ENERGY_SCAN BIT(4)
94 #define FRMCTRL0_AUTOACK BIT(5)
95 #define FRMCTRL0_AUTOCRC BIT(6)
96 #define FRMCTRL0_APPEND_DATA_MODE BIT(7)
99 #define FRMCTRL1_SET_RXENMASK_ON_TX BIT(0)
100 #define FRMCTRL1_IGNORE_TX_UNDERF BIT(1)
101 #define FRMCTRL1_PENDING_OR BIT(2)
106 #define EXCFLAG0_RF_IDLE BIT(0)
107 #define EXCFLAG0_TX_FRM_DONE BIT(1)
108 #define EXCFLAG0_TX_ACK_DONE BIT(2)
109 #define EXCFLAG0_TX_UNDERFLOW BIT(3)
110 #define EXCFLAG0_TX_OVERFLOW BIT(4)
111 #define EXCFLAG0_RX_UNDERFLOW BIT(5)
112 #define EXCFLAG0_RX_OVERFLOW BIT(6)
113 #define EXCFLAG0_RXENABLE_ZERO BIT(7)
125 #define EXCFLAG1_RX_FRM_DONE BIT(0)
126 #define EXCFLAG1_RX_FRM_ACCEPTED BIT(1)
127 #define EXCFLAG1_SRC_MATCH_DONE BIT(2)
128 #define EXCFLAG1_SRC_MATCH_FOUND BIT(3)
129 #define EXCFLAG1_FIFOP BIT(4)
130 #define EXCFLAG1_SFD BIT(5)
131 #define EXCFLAG1_DPU_DONE_L BIT(6)
132 #define EXCFLAG1_DPU_DONE_H BIT(7)
139 #define EXCFLAG2_MEMADDR_ERROR BIT(0)
140 #define EXCFLAG2_USAGE_ERROR BIT(1)
141 #define EXCFLAG2_OPERAND_ERROR BIT(2)
142 #define EXCFLAG2_SPI_ERROR BIT(3)
143 #define EXCFLAG2_RF_NO_LOCK BIT(4)
144 #define EXCFLAG2_RX_FRM_ABORTED BIT(5)
145 #define EXCFLAG2_RFBUFMOV_TIMEOUT BIT(6)
146 #define EXCFLAG2_UNUSED BIT(7)
161 #define GPIOCTRL0_IN0 BIT(7)
165 #define GPIOCTRL1_IN1 BIT(7)
169 #define GPIOCTRL2_IN2 BIT(7)
173 #define GPIOCTRL3_IN3 BIT(7)
177 #define GPIOCTRL4_IN4 BIT(7)
181 #define GPIOCTRL5_IN5 BIT(7)
184 #define GPIOPOLARITY_POLARITY0 BIT(0)
185 #define GPIOPOLARITY_POLARITY1 BIT(1)
186 #define GPIOPOLARITY_POLARITY2 BIT(2)
187 #define GPIOPOLARITY_POLARITY3 BIT(3)
188 #define GPIOPOLARITY_POLARITY4 BIT(4)
189 #define GPIOPOLARITY_POLARITY5 BIT(5)
192 #define GPIOCTRL_GPIO_PUE0 BIT(0)
193 #define GPIOCTRL_GPIO_PUE1 BIT(1)
194 #define GPIOCTRL_GPIO_PUE2 BIT(2)
195 #define GPIOCTRL_GPIO_PUE3 BIT(3)
196 #define GPIOCTRL_GPIO_PUE4 BIT(4)
197 #define GPIOCTRL_GPIO_PUE5 BIT(5)
198 #define GPIOCTRL_GPIO_ACTRL BIT(6)
199 #define GPIOCTRL_SC BIT(7)
202 #define DPUCON_RXTIMEOUT BIT(0)
205 #define DPUSTAT_DPUL_ACTIVE BIT(0)
206 #define DPUSTAT_DPUH_ACTIVE BIT(1)
207 #define DPUSTAT_AUTHSTAT_L BIT(2)
208 #define DPUSTAT_AUTHSTAT_H BIT(3)
220 #define FSMSTAT0_CAL_RUNNING BIT(6)
221 #define FSMSTAT0_CAL_DONE BIT(7)
224 #define FSMSTAT1_RX_ACTIVE BIT(0)
225 #define FSMSTAT1_TX_ACTIVE BIT(1)
226 #define FSMSTAT1_LOCK_STATUS BIT(2)
227 #define FSMSTAT1_CCA_SAMPLED BIT(3)
228 #define FSMSTAT1_CCA BIT(4)
229 #define FSMSTAT1_SFD BIT(5)
230 #define FSMSTAT1_FIFOP BIT(6)
231 #define FSMSTAT1_FIFO BIT(7)
237 #define FSMCTRL_RX2RX_TIME_OFF BIT(0)
238 #define FSMCTRL_SLOTTED_ACK BIT(1)
246 #define RSSI_RSSI_VALID BIT(0)
260 #define EXTCLOCK_EXTCLOCK_EN BIT(5)
263 #define MDMCTRL0_TX_FILTER BIT(0)
265 #define MDMCTRL0_DEMOD_AVG_MODE BIT(5)
270 #define MDMCTRL1_CORR_THR_SFD BIT(5)
275 #define MDMTEST1_MODULATION_MODE BIT(1)
276 #define MDMTEST1_RFC_SNIFF_EN BIT(2)
340 #define CC2520_STATUS_RX_ACTIVE BIT(0)
341 #define CC2520_STATUS_TX_ACTIVE BIT(1)
342 #define CC2520_STATUS_DPU_L_ACTIVE BIT(2)
343 #define CC2520_STATUS_DPU_H_ACTIVE BIT(3)
344 #define CC2520_STATUS_EXCEPTION_CHANNEL_B BIT(4)
345 #define CC2520_STATUS_EXCEPTION_CHANNEL_A BIT(5)
346 #define CC2520_STATUS_RSSI_VALID BIT(6)
347 #define CC2520_STATUS_XOSC_STABLE_N_RUNNING BIT(7)