cc2538_rfcore.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Loci Controls Inc.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef CC2538_RFCORE_H
22 #define CC2538_RFCORE_H
23 
24 #include "cc2538.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 typedef struct {
56  cc2538_reg_t RESERVED1[10];
58  union {
60  struct {
61  cc2538_reg_t FRAME_FILTER_EN : 1;
62  cc2538_reg_t PAN_COORDINATOR : 1;
63  cc2538_reg_t MAX_FRAME_VERSION: 2;
65  } XREG_FRMFILT0bits;
66  };
67 
77  union {
79  struct {
80  cc2538_reg_t TX_MODE : 2;
81  cc2538_reg_t RX_MODE : 2;
82  cc2538_reg_t ENERGY_SCAN : 1;
83  cc2538_reg_t AUTOACK : 1;
84  cc2538_reg_t AUTOCRC : 1;
85  cc2538_reg_t APPEND_DATA_MODE : 1;
86  cc2538_reg_t RESERVED : 24;
87  } XREG_FRMCTRL0bits;
88  };
89 
99  union {
101  struct {
102  cc2538_reg_t FSM_FFCTRL_STATE : 6;
103  cc2538_reg_t CAL_RUNNING : 1;
104  cc2538_reg_t CAL_DONE : 1;
105  cc2538_reg_t RESERVED : 24;
106  } XREG_FSMSTAT0bits;
107  };
108 
109  union {
111  struct {
112  cc2538_reg_t RX_ACTIVE : 1;
113  cc2538_reg_t TX_ACTIVE : 1;
114  cc2538_reg_t LOCK_STATUS : 1;
115  cc2538_reg_t SAMPLED_CCA : 1;
116  cc2538_reg_t CCA : 1;
117  cc2538_reg_t SFD : 1;
118  cc2538_reg_t FIFOP : 1;
119  cc2538_reg_t FIFO : 1;
120  cc2538_reg_t RESERVED : 24;
121  } XREG_FSMSTAT1bits;
122  };
123 
133  union {
135  struct {
137  cc2538_reg_t RESERVED : 31;
138  } XREG_RSSISTATbits;
139  };
140 
158  union {
160  struct {
163  cc2538_reg_t RESERVED : 30;
164  } XREG_RFRNDbits;
165  };
166 
191  cc2538_reg_t RESERVED4[32];
198  cc2538_reg_t RESERVED5[5];
202  cc2538_reg_t RESERVED6[12];
204  cc2538_reg_t RESERVED7[5];
221 
222 #define RFCORE ( (cc2538_rfcore_t*)0x40088580 )
225 enum {
226  DECZ = 0xc5,
227  DECY = 0xc4,
228  DECX = 0xc3,
229  INCZ = 0xc2,
230  INCY = 0xc1,
231  INCX = 0xc0,
232  INCMAXY = 0xc8,
233  RANDXY = 0xbd,
234  INT = 0xba,
235  WAITX = 0xbc,
236  SETCMP1 = 0xbe,
237  WAIT_W = 0x80,
238  WEVENT1 = 0xb8,
239  WEVENT2 = 0xb9,
240  LABEL = 0xbb,
241  RPT_C = 0xa0,
242  SKIP_S_C = 0x00,
243  STOP = 0xd2,
244  SNOP = 0xd0,
245  SRXON = 0xd3,
246  STXON = 0xd9,
247  STXONCCA = 0xda,
248  SSAMPLECCA = 0xdb,
249  SRFOFF = 0xdf,
250  SFLUSHRX = 0xdd,
251  SFLUSHTX = 0xde,
252  SACK = 0xd6,
253  SACKPEND = 0xd7,
254  SNACK = 0xd8,
255  SRXMASKBITSET = 0xd4,
256  SRXMASKBITCLR = 0xd5,
257  ISSTOP = 0xe2,
258  ISSTART = 0xe1,
259  ISRXON = 0xe3,
260  ISRXMASKBITSET = 0xe4,
261  ISRXMASKBITCLR = 0xe5,
262  ISTXON = 0xe9,
263  ISTXONCCA = 0xea,
264  ISSAMPLECCA = 0xeb,
265  ISRFOFF = 0xef,
266  ISFLUSHRX = 0xed,
267  ISFLUSHTX = 0xee,
268  ISACK = 0xe6,
269  ISACKPEND = 0xe7,
270  ISNACK = 0xe8,
271  ISCLEAR = 0xff,
272 };
273 
274 #ifdef __cplusplus
275 } /* extern "C" */
276 #endif
277 
278 #endif /* CC2538_RFCORE_H */
279 
cc2538_rfcore_t::XREG_AGCCTRL0
cc2538_reg_t XREG_AGCCTRL0
RF AGC dynamic range control.
Definition: cc2538_rfcore.h:176
cc2538_rfcore_t::SFR_MTMOVF1
cc2538_reg_t SFR_MTMOVF1
RF MAC Timer multiplexed overflow register 1.
Definition: cc2538_rfcore.h:213
WAIT_W
@ WAIT_W
Wait for W MAC timer overflows | W (W = 0-31)
Definition: cc2538_rfcore.h:237
cc2538_rfcore_t::XREG_RXENABLE
cc2538_reg_t XREG_RXENABLE
RF RX enabling.
Definition: cc2538_rfcore.h:91
SNACK
@ SNACK
Abort sending of acknowledge frame.
Definition: cc2538_rfcore.h:254
cc2538_rfcore_t::XREG_FSCAL1
cc2538_reg_t XREG_FSCAL1
RF Tune frequency calibration.
Definition: cc2538_rfcore.h:173
cc2538_rfcore_t::XREG_RXMASKSET
cc2538_reg_t XREG_RXMASKSET
RF RX enabling.
Definition: cc2538_rfcore.h:92
cc2538_rfcore_t::XREG_SRCSHORTEN0
cc2538_reg_t XREG_SRCSHORTEN0
RF Short address matching.
Definition: cc2538_rfcore.h:70
cc2538_rfcore_t::XREG_CSPY
cc2538_reg_t XREG_CSPY
RF CSP Y data register.
Definition: cc2538_rfcore.h:195
SRFOFF
@ SRFOFF
Disable RX or TX and frequency synthesizer.
Definition: cc2538_rfcore.h:249
cc2538_rfcore_t::FFSM_SRCEXTPENDEN0
cc2538_reg_t FFSM_SRCEXTPENDEN0
RF Source address matching control.
Definition: cc2538_rfcore.h:38
cc2538_rfcore_t::XREG_TXCTRL
cc2538_reg_t XREG_TXCTRL
RF Controls the TX settings.
Definition: cc2538_rfcore.h:97
cc2538_rfcore_t::XREG_RFIRQM1
cc2538_reg_t XREG_RFIRQM1
RF interrupt masks.
Definition: cc2538_rfcore.h:151
cc2538_rfcore_t::SFR_RFERRF
cc2538_reg_t SFR_RFERRF
RF error interrupt flags.
Definition: cc2538_rfcore.h:216
cc2538_rfcore_t::XREG_SRCSHORTEN2
cc2538_reg_t XREG_SRCSHORTEN2
RF Short address matching.
Definition: cc2538_rfcore.h:72
cc2538_rfcore_t::XREG_FRMFILT1
cc2538_reg_t XREG_FRMFILT1
RF Frame Filter 1.
Definition: cc2538_rfcore.h:68
ISRXON
@ ISRXON
Enable and calibrate frequency synthesizer for RX.
Definition: cc2538_rfcore.h:259
cc2538_rfcore_t::SFR_RFDATA
cc2538_reg_t SFR_RFDATA
RF Tx/Rx FIFO.
Definition: cc2538_rfcore.h:215
cc2538_rfcore_t::XREG_MDMTEST0
cc2538_reg_t XREG_MDMTEST0
RF Test register for modem.
Definition: cc2538_rfcore.h:183
cc2538_rfcore_t::XREG_AGCCTRL3
cc2538_reg_t XREG_AGCCTRL3
RF AGC control.
Definition: cc2538_rfcore.h:179
cc2538_rfcore_t::XREG_RFERRM
cc2538_reg_t XREG_RFERRM
RF error interrupt mask.
Definition: cc2538_rfcore.h:152
SFLUSHTX
@ SFLUSHTX
Flush TX FIFO buffer.
Definition: cc2538_rfcore.h:251
cc2538_rfcore_t::FFSM_EXT_ADDR4
cc2538_reg_t FFSM_EXT_ADDR4
RF Local address information.
Definition: cc2538_rfcore.h:48
cc2538_rfcore_t::XREG_FREQCTRL
cc2538_reg_t XREG_FREQCTRL
RF Controls the RF frequency.
Definition: cc2538_rfcore.h:95
cc2538_rfcore_t::XREG_RXFIRST
cc2538_reg_t XREG_RXFIRST
RF First byte in RX FIFO.
Definition: cc2538_rfcore.h:141
cc2538_rfcore_t::XREG_ADCTEST1
cc2538_reg_t XREG_ADCTEST1
RF ADC tuning.
Definition: cc2538_rfcore.h:181
cc2538_rfcore_t::XREG_RXFIFOCNT
cc2538_reg_t XREG_RXFIFOCNT
RF Number of bytes in RX FIFO.
Definition: cc2538_rfcore.h:142
cc2538_rfcore_t::SFR_MTM0
cc2538_reg_t SFR_MTM0
RF MAC Timer multiplexed register 0.
Definition: cc2538_rfcore.h:210
cc2538_rfcore_t::FFSM_SRCRESINDEX
cc2538_reg_t FFSM_SRCRESINDEX
RF Source address matching result.
Definition: cc2538_rfcore.h:37
SSAMPLECCA
@ SSAMPLECCA
Sample the current CCA value to SAMPLED_CCA.
Definition: cc2538_rfcore.h:248
cc2538_rfcore_t::FFSM_SRCEXTPENDEN1
cc2538_reg_t FFSM_SRCEXTPENDEN1
RF Source address matching control.
Definition: cc2538_rfcore.h:39
SRXMASKBITSET
@ SRXMASKBITSET
Set bit in RXENABLE register.
Definition: cc2538_rfcore.h:255
cc2538_rfcore_t::FFSM_SRCSHORTPENDEN0
cc2538_reg_t FFSM_SRCSHORTPENDEN0
RF Source address matching control.
Definition: cc2538_rfcore.h:41
cc2538_rfcore_t::XREG_RFIRQM0
cc2538_reg_t XREG_RFIRQM0
RF interrupt masks.
Definition: cc2538_rfcore.h:150
cc2538_rfcore_t::XREG_ADCTEST2
cc2538_reg_t XREG_ADCTEST2
RF ADC tuning.
Definition: cc2538_rfcore.h:182
cc2538_rfcore_t::XREG_AGCCTRL1
cc2538_reg_t XREG_AGCCTRL1
RF AGC reference level.
Definition: cc2538_rfcore.h:177
INCMAXY
@ INCMAXY
Increment Y not greater than M.
Definition: cc2538_rfcore.h:232
cc2538_rfcore_t::FFSM_SHORT_ADDR1
cc2538_reg_t FFSM_SHORT_ADDR1
RF Local address information.
Definition: cc2538_rfcore.h:55
cc2538_rfcore_t::FFSM_EXT_ADDR5
cc2538_reg_t FFSM_EXT_ADDR5
RF Local address information.
Definition: cc2538_rfcore.h:49
cc2538_rfcore_t::FFSM_PAN_ID1
cc2538_reg_t FFSM_PAN_ID1
RF Local address information.
Definition: cc2538_rfcore.h:53
cc2538_rfcore_t::FFSM_EXT_ADDR2
cc2538_reg_t FFSM_EXT_ADDR2
RF Local address information.
Definition: cc2538_rfcore.h:46
ISRXMASKBITSET
@ ISRXMASKBITSET
Set bit in RXENABLE.
Definition: cc2538_rfcore.h:260
cc2538_rfcore_t::XREG_CSPSTAT
cc2538_reg_t XREG_CSPSTAT
RF CSP status register.
Definition: cc2538_rfcore.h:193
cc2538_rfcore_t::SFR_MTIRQM
cc2538_reg_t SFR_MTIRQM
RF MAC Timer interrupt mask.
Definition: cc2538_rfcore.h:207
ISFLUSHTX
@ ISFLUSHTX
Flush TX FIFO buffer.
Definition: cc2538_rfcore.h:267
RPT_C
@ RPT_C
Conditional repeat | N | C (N = 0, 8; C = 0-7)
Definition: cc2538_rfcore.h:241
cc2538_rfcore_t::FFSM_SRCEXTPENDEN2
cc2538_reg_t FFSM_SRCEXTPENDEN2
RF Source address matching control.
Definition: cc2538_rfcore.h:40
INCZ
@ INCZ
Increment Z.
Definition: cc2538_rfcore.h:229
cc2538_rfcore_t::XREG_CSPX
cc2538_reg_t XREG_CSPX
RF CSP X data register.
Definition: cc2538_rfcore.h:194
cc2538_rfcore_t::XREG_RXCTRL
cc2538_reg_t XREG_RXCTRL
RF Tune receive section.
Definition: cc2538_rfcore.h:170
ISCLEAR
@ ISCLEAR
Clear CSP program memory, reset program counter.
Definition: cc2538_rfcore.h:271
SNOP
@ SNOP
No operation.
Definition: cc2538_rfcore.h:244
cc2538_rfcore_t::FFSM_SRCRESMASK1
cc2538_reg_t FFSM_SRCRESMASK1
RF Source address matching result.
Definition: cc2538_rfcore.h:35
cc2538_rfcore_t::RESERVED
cc2538_reg_t RESERVED
Reserved bits.
Definition: cc2538_rfcore.h:64
cc2538_rfcore_t::RESERVED3
cc2538_reg_t RESERVED3
Reserved bytes.
Definition: cc2538_rfcore.h:153
cc2538_rfcore_t::XREG_FRMCTRL0
cc2538_reg_t XREG_FRMCTRL0
RF Frame handling.
Definition: cc2538_rfcore.h:78
cc2538_rfcore_t::FFSM_EXT_ADDR7
cc2538_reg_t FFSM_EXT_ADDR7
RF Local address information.
Definition: cc2538_rfcore.h:51
cc2538_rfcore_t::XREG_TXFIRST_PTR
cc2538_reg_t XREG_TXFIRST_PTR
RF TX FIFO pointer.
Definition: cc2538_rfcore.h:148
cc2538_rfcore_t::FFSM_SHORT_ADDR0
cc2538_reg_t FFSM_SHORT_ADDR0
RF Local address information.
Definition: cc2538_rfcore.h:54
cc2538_rfcore_t::XREG_CSPZ
cc2538_reg_t XREG_CSPZ
RF CSP Z data register.
Definition: cc2538_rfcore.h:196
cc2538_rfcore_t::XREG_FSCAL3
cc2538_reg_t XREG_FSCAL3
RF Tune frequency calibration.
Definition: cc2538_rfcore.h:175
SRXMASKBITCLR
@ SRXMASKBITCLR
Clear bit in RXENABLE register.
Definition: cc2538_rfcore.h:256
cc2538_rfcore_t::XREG_RXMASKCLR
cc2538_reg_t XREG_RXMASKCLR
RF RX disabling.
Definition: cc2538_rfcore.h:93
cc2538_rfcore_t::XREG_MDMCTRL1
cc2538_reg_t XREG_MDMCTRL1
RF Controls modem.
Definition: cc2538_rfcore.h:168
cc2538_rfcore_t::FFSM_EXT_ADDR1
cc2538_reg_t FFSM_EXT_ADDR1
RF Local address information.
Definition: cc2538_rfcore.h:45
cc2538_rfcore_t::XREG_RFC_OBS_CTRL1
cc2538_reg_t XREG_RFC_OBS_CTRL1
RF observation mux control.
Definition: cc2538_rfcore.h:200
cc2538_rfcore_t::RSSI_VALID
cc2538_reg_t RSSI_VALID
RSSI value is valid.
Definition: cc2538_rfcore.h:136
cc2538_rfcore_t::XREG_RXP1_PTR
cc2538_reg_t XREG_RXP1_PTR
RF RX FIFO pointer.
Definition: cc2538_rfcore.h:146
cc2538_rfcore_t::XREG_TXLAST_PTR
cc2538_reg_t XREG_TXLAST_PTR
RF TX FIFO pointer.
Definition: cc2538_rfcore.h:149
cc2538_rfcore_t::SFR_MTMOVF2
cc2538_reg_t SFR_MTMOVF2
RF MAC Timer multiplexed overflow register 2.
Definition: cc2538_rfcore.h:212
cc2538_rfcore_t::SFR_RFST
cc2538_reg_t SFR_RFST
RF CSMA-CA/strobe processor.
Definition: cc2538_rfcore.h:219
INCY
@ INCY
Increment Y.
Definition: cc2538_rfcore.h:230
cc2538_rfcore_t::XREG_RSSI
cc2538_reg_t XREG_RSSI
RF RSSI status register.
Definition: cc2538_rfcore.h:128
cc2538_rfcore_t::XREG_CSPCTRL
cc2538_reg_t XREG_CSPCTRL
RF CSP control bit.
Definition: cc2538_rfcore.h:192
cc2538_rfcore_t::XREG_RFC_OBS_CTRL0
cc2538_reg_t XREG_RFC_OBS_CTRL0
RF observation mux control.
Definition: cc2538_rfcore.h:199
ISTXONCCA
@ ISTXONCCA
Enable calibration and TX if CCA indicates a clear channel.
Definition: cc2538_rfcore.h:263
cc2538_rfcore_t::XREG_MDMTEST1
cc2538_reg_t XREG_MDMTEST1
RF Test Register for Modem.
Definition: cc2538_rfcore.h:184
ISSAMPLECCA
@ ISSAMPLECCA
Sample the current CCA value to SAMPLED_CCA.
Definition: cc2538_rfcore.h:264
cc2538_rfcore_t::XREG_ATEST
cc2538_reg_t XREG_ATEST
RF Analog test control.
Definition: cc2538_rfcore.h:188
cc2538_rfcore_t::XREG_FSCAL2
cc2538_reg_t XREG_FSCAL2
RF Tune frequency calibration.
Definition: cc2538_rfcore.h:174
cc2538_rfcore_t::XREG_CCACTRL1
cc2538_reg_t XREG_CCACTRL1
RF Other CCA Options.
Definition: cc2538_rfcore.h:127
cc2538_rfcore_t::XREG_PTEST1
cc2538_reg_t XREG_PTEST1
RF Override power-down register.
Definition: cc2538_rfcore.h:190
cc2538_rfcore_t::FFSM_EXT_ADDR3
cc2538_reg_t FFSM_EXT_ADDR3
RF Local address information.
Definition: cc2538_rfcore.h:47
cc2538_rfcore_t::SFR_RFIRQF1
cc2538_reg_t SFR_RFIRQF1
RF interrupt flags.
Definition: cc2538_rfcore.h:217
DECX
@ DECX
Decrement X.
Definition: cc2538_rfcore.h:228
STOP
@ STOP
Stop program execution.
Definition: cc2538_rfcore.h:243
cc2538_rfcore_t::SFR_MTMOVF0
cc2538_reg_t SFR_MTMOVF0
RF MAC Timer multiplexed overflow register 0.
Definition: cc2538_rfcore.h:214
cc2538_rfcore_t::XREG_TXPOWER
cc2538_reg_t XREG_TXPOWER
RF Controls the output power.
Definition: cc2538_rfcore.h:96
cc2538_rfcore_t::XREG_FREQTUNE
cc2538_reg_t XREG_FREQTUNE
RF Crystal oscillator frequency tuning.
Definition: cc2538_rfcore.h:94
cc2538_rfcore_t::XREG_FRMFILT0
cc2538_reg_t XREG_FRMFILT0
RF Frame Filter 0.
Definition: cc2538_rfcore.h:59
ISNACK
@ ISNACK
Abort sending of acknowledge frame.
Definition: cc2538_rfcore.h:270
cc2538_rfcore_t::XREG_FRMCTRL1
cc2538_reg_t XREG_FRMCTRL1
RF Frame handling.
Definition: cc2538_rfcore.h:90
cc2538_rfcore_t::XREG_SRCEXTEN2
cc2538_reg_t XREG_SRCEXTEN2
RF Extended address matching.
Definition: cc2538_rfcore.h:75
cc2538_rfcore_t::XREG_FSMSTAT1
cc2538_reg_t XREG_FSMSTAT1
RF Radio status register.
Definition: cc2538_rfcore.h:110
cc2538_rfcore_t::FFSM_EXT_ADDR0
cc2538_reg_t FFSM_EXT_ADDR0
RF Local address information.
Definition: cc2538_rfcore.h:44
INT
@ INT
Interrupt.
Definition: cc2538_rfcore.h:234
cc2538_reg_t
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition: cc2538.h:124
SRXON
@ SRXON
Enable and calibrate frequency synthesizer for RX.
Definition: cc2538_rfcore.h:245
cc2538_rfcore_t::FFSM_SRCRESMASK2
cc2538_reg_t FFSM_SRCRESMASK2
RF Source address matching result.
Definition: cc2538_rfcore.h:36
cc2538_rfcore_t
RF Core component registers.
Definition: cc2538_rfcore.h:33
RANDXY
@ RANDXY
Load random value into X.
Definition: cc2538_rfcore.h:233
cc2538_rfcore_t::SFR_MTM1
cc2538_reg_t SFR_MTM1
RF MAC Timer multiplexed register 1.
Definition: cc2538_rfcore.h:211
ISSTOP
@ ISSTOP
Stop program execution.
Definition: cc2538_rfcore.h:257
cc2538_rfcore_t::XREG_SRCSHORTEN1
cc2538_reg_t XREG_SRCSHORTEN1
RF Short address matching.
Definition: cc2538_rfcore.h:71
cc2538_rfcore_t::IRND
cc2538_reg_t IRND
Random bit from the I channel of the receiver.
Definition: cc2538_rfcore.h:161
cc2538_rfcore_t::XREG_DACTEST1
cc2538_reg_t XREG_DACTEST1
RF DAC override value.
Definition: cc2538_rfcore.h:186
cc2538_rfcore_t::FFSM_SRCRESMASK0
cc2538_reg_t FFSM_SRCRESMASK0
RF Source address matching result.
Definition: cc2538_rfcore.h:34
cc2538_rfcore_t::XREG_FREQEST
cc2538_reg_t XREG_FREQEST
RF Estimated RF frequency offset.
Definition: cc2538_rfcore.h:169
cc2538_rfcore_t::SFR_MTIRQF
cc2538_reg_t SFR_MTIRQF
RF MAC Timer interrupt flags.
Definition: cc2538_rfcore.h:208
cc2538_rfcore_t::FFSM_SRCSHORTPENDEN1
cc2538_reg_t FFSM_SRCSHORTPENDEN1
RF Source address matching control.
Definition: cc2538_rfcore.h:42
cc2538_rfcore_t::XREG_RXLAST_PTR
cc2538_reg_t XREG_RXLAST_PTR
RF RX FIFO pointer.
Definition: cc2538_rfcore.h:145
cc2538_rfcore_t::XREG_MDMCTRL0
cc2538_reg_t XREG_MDMCTRL0
RF Controls modem.
Definition: cc2538_rfcore.h:167
cc2538_rfcore_t::SFR_MTMSEL
cc2538_reg_t SFR_MTMSEL
RF MAC Timer multiplex select.
Definition: cc2538_rfcore.h:209
DECZ
@ DECZ
Decrement Z.
Definition: cc2538_rfcore.h:226
cc2538_rfcore_t::XREG_CCACTRL0
cc2538_reg_t XREG_CCACTRL0
RF CCA threshold.
Definition: cc2538_rfcore.h:126
STXON
@ STXON
Enable TX after calibration.
Definition: cc2538_rfcore.h:246
WEVENT1
@ WEVENT1
Wait until MAC timer event 1.
Definition: cc2538_rfcore.h:238
cc2538_rfcore_t::XREG_RFRND
cc2538_reg_t XREG_RFRND
RF Random data.
Definition: cc2538_rfcore.h:159
cc2538_rfcore_t::SFR_RFIRQF0
cc2538_reg_t SFR_RFIRQF0
RF interrupt flags.
Definition: cc2538_rfcore.h:218
cc2538_rfcore_t::XREG_RSSISTAT
cc2538_reg_t XREG_RSSISTAT
RF RSSI valid status register.
Definition: cc2538_rfcore.h:134
cc2538_rfcore_t::XREG_AGCCTRL2
cc2538_reg_t XREG_AGCCTRL2
RF AGC gain override.
Definition: cc2538_rfcore.h:178
cc2538_rfcore_t::XREG_SRCMATCH
cc2538_reg_t XREG_SRCMATCH
RF Source address matching and pending bits.
Definition: cc2538_rfcore.h:69
ISRFOFF
@ ISRFOFF
Disable RX or TX, and the frequency synthesizer.
Definition: cc2538_rfcore.h:265
ISSTART
@ ISSTART
Start program execution.
Definition: cc2538_rfcore.h:258
cc2538_rfcore_t::XREG_TXFILTCFG
cc2538_reg_t XREG_TXFILTCFG
RF TX filter configuration.
Definition: cc2538_rfcore.h:203
ISTXON
@ ISTXON
Enable TX after calibration.
Definition: cc2538_rfcore.h:262
cc2538_rfcore_t::XREG_TXFIFOCNT
cc2538_reg_t XREG_TXFIFOCNT
RF Number of bytes in TX FIFO.
Definition: cc2538_rfcore.h:143
cc2538_rfcore_t::FFSM_SRCSHORTPENDEN2
cc2538_reg_t FFSM_SRCSHORTPENDEN2
RF Source address matching control.
Definition: cc2538_rfcore.h:43
cc2538_rfcore_t::XREG_DACTEST0
cc2538_reg_t XREG_DACTEST0
RF DAC override value.
Definition: cc2538_rfcore.h:185
cc2538_rfcore_t::XREG_RXFIRST_PTR
cc2538_reg_t XREG_RXFIRST_PTR
RF RX FIFO pointer.
Definition: cc2538_rfcore.h:144
cc2538_rfcore_t::XREG_FIFOPCTRL
cc2538_reg_t XREG_FIFOPCTRL
RF FIFOP threshold.
Definition: cc2538_rfcore.h:124
ISACKPEND
@ ISACKPEND
Send acknowledge frame with the pending field set.
Definition: cc2538_rfcore.h:269
cc2538.h
CC2538 MCU interrupt and register definitions.
WAITX
@ WAITX
Wait for X MAC timer overflows.
Definition: cc2538_rfcore.h:235
cc2538_rfcore_t::XREG_DACTEST2
cc2538_reg_t XREG_DACTEST2
RF DAC test setting.
Definition: cc2538_rfcore.h:187
cc2538_rfcore_t::FFSM_EXT_ADDR6
cc2538_reg_t FFSM_EXT_ADDR6
RF Local address information.
Definition: cc2538_rfcore.h:50
DECY
@ DECY
Decrement Y.
Definition: cc2538_rfcore.h:227
cc2538_rfcore_t::XREG_FSMSTAT0
cc2538_reg_t XREG_FSMSTAT0
RF Radio status register.
Definition: cc2538_rfcore.h:100
LABEL
@ LABEL
Set loop label.
Definition: cc2538_rfcore.h:240
cc2538_rfcore_t::QRND
cc2538_reg_t QRND
Random bit from the Q channel of the receiver.
Definition: cc2538_rfcore.h:162
SETCMP1
@ SETCMP1
Set the compare value of the MAC timer to the current timer value.
Definition: cc2538_rfcore.h:236
cc2538_rfcore_t::FFSM_PAN_ID0
cc2538_reg_t FFSM_PAN_ID0
RF Local address information.
Definition: cc2538_rfcore.h:52
cc2538_rfcore_t::XREG_FSCAL0
cc2538_reg_t XREG_FSCAL0
RF Tune frequency calibration.
Definition: cc2538_rfcore.h:172
SACK
@ SACK
Send acknowledge frame with pending field cleared.
Definition: cc2538_rfcore.h:252
cc2538_rfcore_t::RESERVED2
cc2538_reg_t RESERVED2
Reserved bytes.
Definition: cc2538_rfcore.h:147
cc2538_rfcore_t::XREG_SRCEXTEN1
cc2538_reg_t XREG_SRCEXTEN1
RF Extended address matching.
Definition: cc2538_rfcore.h:74
cc2538_rfcore_t::XREG_FSMCTRL
cc2538_reg_t XREG_FSMCTRL
RF FSM options.
Definition: cc2538_rfcore.h:125
ISACK
@ ISACK
Send acknowledge frame with the pending field cleared.
Definition: cc2538_rfcore.h:268
ISRXMASKBITCLR
@ ISRXMASKBITCLR
Clear bit in RXENABLE.
Definition: cc2538_rfcore.h:261
INCX
@ INCX
Increment X.
Definition: cc2538_rfcore.h:231
WEVENT2
@ WEVENT2
Wait until MAC timer event 2.
Definition: cc2538_rfcore.h:239
SKIP_S_C
@ SKIP_S_C
Conditional skip instruction | S | N | C.
Definition: cc2538_rfcore.h:242
cc2538_rfcore_t::XREG_SRCEXTEN0
cc2538_reg_t XREG_SRCEXTEN0
RF Extended address matching.
Definition: cc2538_rfcore.h:73
cc2538_rfcore_t::SFR_MTCTRL
cc2538_reg_t SFR_MTCTRL
RF MAC Timer control register.
Definition: cc2538_rfcore.h:206
cc2538_rfcore_t::XREG_CSPT
cc2538_reg_t XREG_CSPT
RF CSP T data register.
Definition: cc2538_rfcore.h:197
ISFLUSHRX
@ ISFLUSHRX
Flush RX FIFO buffer and reset demodulator.
Definition: cc2538_rfcore.h:266
SACKPEND
@ SACKPEND
Send acknowledge frame with the pending field set.
Definition: cc2538_rfcore.h:253
cc2538_rfcore_t::XREG_ADCTEST0
cc2538_reg_t XREG_ADCTEST0
RF ADC tuning.
Definition: cc2538_rfcore.h:180
SFD
@ SFD
Start of frame event.
Definition: cc2538_rf.h:179
cc2538_rfcore_t::XREG_RFC_OBS_CTRL2
cc2538_reg_t XREG_RFC_OBS_CTRL2
RF observation mux control.
Definition: cc2538_rfcore.h:201
cc2538_rfcore_t::XREG_FSCTRL
cc2538_reg_t XREG_FSCTRL
RF Tune frequency synthesizer.
Definition: cc2538_rfcore.h:171
cc2538_rfcore_t::XREG_PTEST0
cc2538_reg_t XREG_PTEST0
RF Override power-down register.
Definition: cc2538_rfcore.h:189
SFLUSHRX
@ SFLUSHRX
Flush RX FIFO buffer and reset demodulator.
Definition: cc2538_rfcore.h:250
cc2538_rfcore_t::SFR_MTCSPCFG
cc2538_reg_t SFR_MTCSPCFG
RF MAC Timer event configuration.
Definition: cc2538_rfcore.h:205
STXONCCA
@ STXONCCA
Enable calibration and TX if CCA indicates a clear channel.
Definition: cc2538_rfcore.h:247