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