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.

Table 9-15. Parameters
Data directionParameter nameDescription

[in]

nmi_channel

External Interrupt NMI channel index to check

Returns

Status of the requested NMI channel's edge detection state.

Table 9-16. Return Values
Return valueDescription

true

If the NMI channel's edge/level detection criteria was met

false

If the NMI channel has not detected its configured criteria