9.6.4.5.1 Function extint_nmi_is_detected()
Retrieves the edge detection state of a configured NMI channel.
bool extint_nmi_is_detected( const uint8_t nmi_channel)
Reads the current state of a configured NMI channel, and determines if the detection criteria of the NMI channel has been met.
Data direction | Parameter name | Description |
---|---|---|
[in] |
nmi_channel |
External Interrupt NMI channel index to check |
Returns
Status of the requested NMI channel's edge detection state.
Return value | Description |
---|---|
true |
If the NMI channel's edge/level detection criteria was met |
false |
If the NMI channel has not detected its configured criteria |