English
Language : 

RFM31 Datasheet, PDF (17/137 Pages) –
RFM31
3.3. Interrupts
The RFM31 is capable of generating an interrupt signal when certain events occur. The module notifies the
microcontroller that an interrupt event has been detected by setting the nIRQ output pin LOW = 0. This interrupt
signal will be generated when any one (or more) of the interrupt events (corresponding to the Interrupt Status bits)
shown below occur. The nIRQ pin will remain low until the microcontroller reads the Interrupt Status Register(s)
(Registers 03h–04h) containing the active Interrupt Status bit; the nIRQ output signal will then be reset until the
next change in status is detected. All of the interrupts must be enabled by the corresponding enable bit in the
Interrupt Enable Registers (Registers 05h–06h). All enabled interrupt bits will be cleared when the microcontroller
reads the interrupt status register. If the interrupt is not enabled when the event occurs inside of the module it will not
trigger the nIRQ pin, but the status may still be read correctly at anytime in the Interrupt Status registers.
Function/De
POR
Add R/W
D7
D6
D5
D4
D3
D2
D1
D0
scription
Def.
03
R Interrupt Status 1 ifferr Reserved Reserved irxffafull iext Reserved ipkvalid icrcerror —
04
R Interrupt Status 2 iswdet ipreaval ipreainval
irssi
iwut
ilbd
ichiprdy
ipor —
encrcerr
05 R/W Interrupt Enable1 enfferr Reserved Reserved enrxffafull enext Reserved enpkvalid
00h
or
06 R/W Interrupt Enable 2 enswdet enpreaval enpreainval enrssi enwut enlbd enchiprdy enpor
01h
See ―Register 03h. Interrupt/Status 1,‖ and ―Register 04h. Interrupt/Status 2,‖ for a complete list of interrupts.
3.4. Device Code
The device version code is readable from "Register 01h. Version Code (VC)". This is a read only register.
Add R/W Function/Description D7 D6 D5
01
R
Device Version
00
0
D4
vc[4]
D3 D2 D1 D0 POR Def.
vc[3] vc[2] vc[1] vc[0]
00h
Notes
DV
17
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: sales@hoperf.com http://www.hoperf.com