Go to the documentation of this file.
21 #ifndef CC2538_RFCORE_H
22 #define CC2538_RFCORE_H
222 #define RFCORE ( (cc2538_rfcore_t*)0x40088580 )
cc2538_reg_t XREG_AGCCTRL0
RF AGC dynamic range control.
cc2538_reg_t SFR_MTMOVF1
RF MAC Timer multiplexed overflow register 1.
@ WAIT_W
Wait for W MAC timer overflows | W (W = 0-31)
cc2538_reg_t XREG_RXENABLE
RF RX enabling.
@ SNACK
Abort sending of acknowledge frame.
cc2538_reg_t XREG_FSCAL1
RF Tune frequency calibration.
cc2538_reg_t XREG_RXMASKSET
RF RX enabling.
cc2538_reg_t XREG_SRCSHORTEN0
RF Short address matching.
cc2538_reg_t XREG_CSPY
RF CSP Y data register.
@ SRFOFF
Disable RX or TX and frequency synthesizer.
cc2538_reg_t FFSM_SRCEXTPENDEN0
RF Source address matching control.
cc2538_reg_t XREG_TXCTRL
RF Controls the TX settings.
cc2538_reg_t XREG_RFIRQM1
RF interrupt masks.
cc2538_reg_t SFR_RFERRF
RF error interrupt flags.
cc2538_reg_t XREG_SRCSHORTEN2
RF Short address matching.
cc2538_reg_t XREG_FRMFILT1
RF Frame Filter 1.
@ ISRXON
Enable and calibrate frequency synthesizer for RX.
cc2538_reg_t SFR_RFDATA
RF Tx/Rx FIFO.
cc2538_reg_t XREG_MDMTEST0
RF Test register for modem.
cc2538_reg_t XREG_AGCCTRL3
RF AGC control.
cc2538_reg_t XREG_RFERRM
RF error interrupt mask.
@ SFLUSHTX
Flush TX FIFO buffer.
cc2538_reg_t FFSM_EXT_ADDR4
RF Local address information.
cc2538_reg_t XREG_FREQCTRL
RF Controls the RF frequency.
cc2538_reg_t XREG_RXFIRST
RF First byte in RX FIFO.
cc2538_reg_t XREG_ADCTEST1
RF ADC tuning.
cc2538_reg_t XREG_RXFIFOCNT
RF Number of bytes in RX FIFO.
cc2538_reg_t SFR_MTM0
RF MAC Timer multiplexed register 0.
cc2538_reg_t FFSM_SRCRESINDEX
RF Source address matching result.
@ SSAMPLECCA
Sample the current CCA value to SAMPLED_CCA.
cc2538_reg_t FFSM_SRCEXTPENDEN1
RF Source address matching control.
@ SRXMASKBITSET
Set bit in RXENABLE register.
cc2538_reg_t FFSM_SRCSHORTPENDEN0
RF Source address matching control.
cc2538_reg_t XREG_RFIRQM0
RF interrupt masks.
cc2538_reg_t XREG_ADCTEST2
RF ADC tuning.
cc2538_reg_t XREG_AGCCTRL1
RF AGC reference level.
@ INCMAXY
Increment Y not greater than M.
cc2538_reg_t FFSM_SHORT_ADDR1
RF Local address information.
cc2538_reg_t FFSM_EXT_ADDR5
RF Local address information.
cc2538_reg_t FFSM_PAN_ID1
RF Local address information.
cc2538_reg_t FFSM_EXT_ADDR2
RF Local address information.
@ ISRXMASKBITSET
Set bit in RXENABLE.
cc2538_reg_t XREG_CSPSTAT
RF CSP status register.
cc2538_reg_t SFR_MTIRQM
RF MAC Timer interrupt mask.
@ ISFLUSHTX
Flush TX FIFO buffer.
@ RPT_C
Conditional repeat | N | C (N = 0, 8; C = 0-7)
cc2538_reg_t FFSM_SRCEXTPENDEN2
RF Source address matching control.
cc2538_reg_t XREG_CSPX
RF CSP X data register.
cc2538_reg_t XREG_RXCTRL
RF Tune receive section.
@ ISCLEAR
Clear CSP program memory, reset program counter.
cc2538_reg_t FFSM_SRCRESMASK1
RF Source address matching result.
cc2538_reg_t RESERVED
Reserved bits.
cc2538_reg_t RESERVED3
Reserved bytes.
cc2538_reg_t XREG_FRMCTRL0
RF Frame handling.
cc2538_reg_t FFSM_EXT_ADDR7
RF Local address information.
cc2538_reg_t XREG_TXFIRST_PTR
RF TX FIFO pointer.
cc2538_reg_t FFSM_SHORT_ADDR0
RF Local address information.
cc2538_reg_t XREG_CSPZ
RF CSP Z data register.
cc2538_reg_t XREG_FSCAL3
RF Tune frequency calibration.
@ SRXMASKBITCLR
Clear bit in RXENABLE register.
cc2538_reg_t XREG_RXMASKCLR
RF RX disabling.
cc2538_reg_t XREG_MDMCTRL1
RF Controls modem.
cc2538_reg_t FFSM_EXT_ADDR1
RF Local address information.
cc2538_reg_t XREG_RFC_OBS_CTRL1
RF observation mux control.
cc2538_reg_t RSSI_VALID
RSSI value is valid.
cc2538_reg_t XREG_RXP1_PTR
RF RX FIFO pointer.
cc2538_reg_t XREG_TXLAST_PTR
RF TX FIFO pointer.
cc2538_reg_t SFR_MTMOVF2
RF MAC Timer multiplexed overflow register 2.
cc2538_reg_t SFR_RFST
RF CSMA-CA/strobe processor.
cc2538_reg_t XREG_RSSI
RF RSSI status register.
cc2538_reg_t XREG_CSPCTRL
RF CSP control bit.
cc2538_reg_t XREG_RFC_OBS_CTRL0
RF observation mux control.
@ ISTXONCCA
Enable calibration and TX if CCA indicates a clear channel.
cc2538_reg_t XREG_MDMTEST1
RF Test Register for Modem.
@ ISSAMPLECCA
Sample the current CCA value to SAMPLED_CCA.
cc2538_reg_t XREG_ATEST
RF Analog test control.
cc2538_reg_t XREG_FSCAL2
RF Tune frequency calibration.
cc2538_reg_t XREG_CCACTRL1
RF Other CCA Options.
cc2538_reg_t XREG_PTEST1
RF Override power-down register.
cc2538_reg_t FFSM_EXT_ADDR3
RF Local address information.
cc2538_reg_t SFR_RFIRQF1
RF interrupt flags.
@ STOP
Stop program execution.
cc2538_reg_t SFR_MTMOVF0
RF MAC Timer multiplexed overflow register 0.
cc2538_reg_t XREG_TXPOWER
RF Controls the output power.
cc2538_reg_t XREG_FREQTUNE
RF Crystal oscillator frequency tuning.
cc2538_reg_t XREG_FRMFILT0
RF Frame Filter 0.
@ ISNACK
Abort sending of acknowledge frame.
cc2538_reg_t XREG_FRMCTRL1
RF Frame handling.
cc2538_reg_t XREG_SRCEXTEN2
RF Extended address matching.
cc2538_reg_t XREG_FSMSTAT1
RF Radio status register.
cc2538_reg_t FFSM_EXT_ADDR0
RF Local address information.
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
@ SRXON
Enable and calibrate frequency synthesizer for RX.
cc2538_reg_t FFSM_SRCRESMASK2
RF Source address matching result.
RF Core component registers.
@ RANDXY
Load random value into X.
cc2538_reg_t SFR_MTM1
RF MAC Timer multiplexed register 1.
@ ISSTOP
Stop program execution.
cc2538_reg_t XREG_SRCSHORTEN1
RF Short address matching.
cc2538_reg_t IRND
Random bit from the I channel of the receiver.
cc2538_reg_t XREG_DACTEST1
RF DAC override value.
cc2538_reg_t FFSM_SRCRESMASK0
RF Source address matching result.
cc2538_reg_t XREG_FREQEST
RF Estimated RF frequency offset.
cc2538_reg_t SFR_MTIRQF
RF MAC Timer interrupt flags.
cc2538_reg_t FFSM_SRCSHORTPENDEN1
RF Source address matching control.
cc2538_reg_t XREG_RXLAST_PTR
RF RX FIFO pointer.
cc2538_reg_t XREG_MDMCTRL0
RF Controls modem.
cc2538_reg_t SFR_MTMSEL
RF MAC Timer multiplex select.
cc2538_reg_t XREG_CCACTRL0
RF CCA threshold.
@ STXON
Enable TX after calibration.
@ WEVENT1
Wait until MAC timer event 1.
cc2538_reg_t XREG_RFRND
RF Random data.
cc2538_reg_t SFR_RFIRQF0
RF interrupt flags.
cc2538_reg_t XREG_RSSISTAT
RF RSSI valid status register.
cc2538_reg_t XREG_AGCCTRL2
RF AGC gain override.
cc2538_reg_t XREG_SRCMATCH
RF Source address matching and pending bits.
@ ISRFOFF
Disable RX or TX, and the frequency synthesizer.
@ ISSTART
Start program execution.
cc2538_reg_t XREG_TXFILTCFG
RF TX filter configuration.
@ ISTXON
Enable TX after calibration.
cc2538_reg_t XREG_TXFIFOCNT
RF Number of bytes in TX FIFO.
cc2538_reg_t FFSM_SRCSHORTPENDEN2
RF Source address matching control.
cc2538_reg_t XREG_DACTEST0
RF DAC override value.
cc2538_reg_t XREG_RXFIRST_PTR
RF RX FIFO pointer.
cc2538_reg_t XREG_FIFOPCTRL
RF FIFOP threshold.
@ ISACKPEND
Send acknowledge frame with the pending field set.
CC2538 MCU interrupt and register definitions.
@ WAITX
Wait for X MAC timer overflows.
cc2538_reg_t XREG_DACTEST2
RF DAC test setting.
cc2538_reg_t FFSM_EXT_ADDR6
RF Local address information.
cc2538_reg_t XREG_FSMSTAT0
RF Radio status register.
cc2538_reg_t QRND
Random bit from the Q channel of the receiver.
@ SETCMP1
Set the compare value of the MAC timer to the current timer value.
cc2538_reg_t FFSM_PAN_ID0
RF Local address information.
cc2538_reg_t XREG_FSCAL0
RF Tune frequency calibration.
@ SACK
Send acknowledge frame with pending field cleared.
cc2538_reg_t RESERVED2
Reserved bytes.
cc2538_reg_t XREG_SRCEXTEN1
RF Extended address matching.
cc2538_reg_t XREG_FSMCTRL
RF FSM options.
@ ISACK
Send acknowledge frame with the pending field cleared.
@ ISRXMASKBITCLR
Clear bit in RXENABLE.
@ WEVENT2
Wait until MAC timer event 2.
@ SKIP_S_C
Conditional skip instruction | S | N | C.
cc2538_reg_t XREG_SRCEXTEN0
RF Extended address matching.
cc2538_reg_t SFR_MTCTRL
RF MAC Timer control register.
cc2538_reg_t XREG_CSPT
RF CSP T data register.
@ ISFLUSHRX
Flush RX FIFO buffer and reset demodulator.
@ SACKPEND
Send acknowledge frame with the pending field set.
cc2538_reg_t XREG_ADCTEST0
RF ADC tuning.
@ SFD
Start of frame event.
cc2538_reg_t XREG_RFC_OBS_CTRL2
RF observation mux control.
cc2538_reg_t XREG_FSCTRL
RF Tune frequency synthesizer.
cc2538_reg_t XREG_PTEST0
RF Override power-down register.
@ SFLUSHRX
Flush RX FIFO buffer and reset demodulator.
cc2538_reg_t SFR_MTCSPCFG
RF MAC Timer event configuration.
@ STXONCCA
Enable calibration and TX if CCA indicates a clear channel.