Hi,
If event is not handled (or handled but EVENT register not cleared), will it go above 1 or is it binary?
In other words, can the value be used to detected missed interrupts (in case a softdevice is running)
Thanks
Hi,
If event is not handled (or handled but EVENT register not cleared), will it go above 1 or is it binary?
In other words, can the value be used to detected missed interrupts (in case a softdevice is running)
Thanks
No, EVENTS are always 1 or 0.
Side note: In the nRF52832 Product Specification v1.4
Section 15.8.1 Peripheral Interface, Interrupt clearing
Explains why a volatile dummy read is required after clearing an interrupt.
But to the larger question: How do I detect missed events or can they be detected?
I don't think you can detect dropped events directly through the EVENT (or TASK) registers.
You would have to infer the drop due to other register or state context.