8.6.4.13 Function events_is_detected()
Check if an event is detected on the event channel.
bool events_is_detected( struct events_resource * resource)
Check if an event has been detected on the channel.
Note: This function will clear the event detected interrupt flag.
| Data direction | Parameter name | Description |
|---|---|---|
|
[in] |
resource |
Pointer to an events_resource struct |
Returns
Status of the event detection interrupt flag.
| Return value | Description |
|---|---|
|
true |
Event has been detected |
|
false |
Event has not been detected |
