English
Language : 

MRF24J40_08 Datasheet, PDF (89/152 Pages) Microchip Technology – IEEE 802.15.4™ 2.4 GHz RF Transceiver
MRF24J40
3.3 Interrupts
The MRF24J40 has one interrupt (INT) pin 16 that
signals one of eight interrupt events to the host micro-
controller. The interrupt structure is shown in
Figure 3-1. Interrupts are enabled via the INTCON
(0x32) register. Interrupt flags are located in the
INTSTAT (0x31) register. The INTSTAT register
clears-to-zero upon read. Therefore, the host micro-
controller should read and store the INTSTAT register
and check the bits to determine which interrupt
FIGURE 3-1:
MRF24J40 INTERRUPT LOGIC
occurred. The INT pin will continue to signal an
interrupt until the INTSTAT register is read. The edge
polarity of the INT pin is configured via the INTEDGE
bit in the SLPCON0 (0x211<1>) register.
Note:
The INTEDGE polarity defaults to:
0 = Falling Edge. Ensure that the interrupt
polarity matches the interrupt pin polarity
of the host microcontroller.
INTSTAT.SLPIF
INTCON.SLPIE
INTSTAT.WAKEIF
INTCON.WAKEIE
INTSTAT.HSYMTMRIF
INTCON.HSYMTMRIE
SLPCON0.INTEDGE
INTSTAT.SECIF
INTCON.SECIE
INT
INTSTAT.RXIF
INTCON.RXIE
INTSTAT.TXG2IF
INTCON.TXG2IE
INTSTAT.TXG1IF
INTCON.TXG1IE
INTSTAT.TXNIF
INTCON.TXNIE
TABLE 3-3: REGISTERS ASSOCIATED WITH INTERRUPTS
Addr. Name
Bit 7
Bit 6
Bit 5
Bit 4 Bit 3
0x31 INTSTAT
0x32 INTCON
0x211 SLPCON0
SLPIF
SLPIE
r
WAKEIF HSYMTMRIF
WAKEIE HSYMTMRIE
r
r
SECIF
SECIE
r
RXIF
RXIE
r
Bit 2
TXG2IF
TXG2IE
r
Bit 1
TXG1IF
TXG1IE
INTEDGE
Bit 0
TXNIF
TXNIE
SLPCKEN
© 2008 Microchip Technology Inc.
Preliminary
DS39776B-page 87