Help - Interrupt Queuing SX28
Hi guys,
I've been trying to search the forum for an answer, but im not finding one.
Scenario:
The SX28 is executing code in the ISR.
WKPND_B was cleared on entry to do usual check to see what caused the interrupt.
Now while in the ISR an external source triggers an interrupt, setting the WKPND_B register (I know the WKPND_B register gets set)
The SX now does a RETI
My Question:
Will this external interrupt and setting of WKPND_B register during the ISR cause the SX28 to jump back into the ISR again??
I really need to be able to catch every single external event, even when they occur during the ISR!
Thanks in advance for any help/info
Cheers,
Andy
I've been trying to search the forum for an answer, but im not finding one.
Scenario:
The SX28 is executing code in the ISR.
WKPND_B was cleared on entry to do usual check to see what caused the interrupt.
Now while in the ISR an external source triggers an interrupt, setting the WKPND_B register (I know the WKPND_B register gets set)
The SX now does a RETI
My Question:
Will this external interrupt and setting of WKPND_B register during the ISR cause the SX28 to jump back into the ISR again??
I really need to be able to catch every single external event, even when they occur during the ISR!
Thanks in advance for any help/info
Cheers,
Andy
Comments
But you can check the "pending register" to see if there will be any new·external.
I'm not so good, wait for other answer.
Alessandro (italy)
Yes. As soon as the RETI is executed the program will jump right back into the interrupt routine.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·