English
Language : 

CC2430 Datasheet, PDF (156/212 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
Radio : Interrupts
The interrupt flags in SFR register RFIF show
the status for each interrupt source for the RF
interrupt vector.
The interrupt enable bits in RFIM are used to
disable individual interrupt sources for the RF
interrupt vector. Note that masking an interrupt
source in RFIM does not affect the update of
the status in the RFIF register.
Due to the use of the individual interrupt
masks in RFIM, and the main interrupt mask
for the RF interrupt given by IEN2.RFIE there
is two-layered masking of this interrupt.
Special attention needs to be taken when
processing this type of interrupt as described
below.
To clear the RF interrupt, S1CON.RFIF and
the interrupt flag in RFIF need to be cleared. If
more than one interrupt source generates an
interrupt the source that was not cleared will
generate another interrupt after completing the
interrupt service routine (ISR). A RFIF flag that
was set and was not cleared during ISR will
create another interrupt when ISR completed.
If no individual knowlage of which interrupt
caused the ISR to be called, all RFIF flags
should be cleared.
RFIF (0xE9) – RF Interrupt Flags
Bit Name
7 IRQ_RREG_ON
Reset
0
R/W
R/W0
6 IRQ_TXDONE
0
R/W0
5 IRQ_FIFOP
0
R/W0
4 IRQ_SFD
0
3 IRQ_CCA
0
2 IRQ_CSP_WT
0
1 IRQ_CSP_STOP 0
0 IRQ_CSP_INT 0
R/W0
R/W0
R/W0
R/W0
R/W0
Description
Voltage regulator for radio has been turned on
0 No interrupt pending
1 Interrupt pending
TX completed with packet sent. Also set for acknowledge frames if RF
register IRQSRC.TXACK is 1
0 No interrupt pending
1 Interrupt pending
Number of bytes in RXFIFO is above threshold set by
IOCFG0.FIFOP_THR
0 No interrupt pending
1 Interrupt pending
Start of frame delimiter (SFD) has been detected
0 No interrupt pending
1 Interrupt pending
Clear channel assessment (CCA) indicates that channel is clear
0 No interrupt pending
1 Interrupt pending
CSMA-CA/strobe processor (CSP) wait condition is true
0 No interrupt pending
1 Interrupt pending
CSMA-CA/strobe processor (CSP) program execution stopped
0 No interrupt pending
1 Interrupt pending
CSMA-CA/strobe processor (CSP) INT instruction executed
0 No interrupt pending
1 Interrupt pending
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 156 of 211