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.
Table 8-24. Parameters
Data directionParameter nameDescription

[in]

resource

Pointer to an events_resource struct

Returns

Status of the event detection interrupt flag.

Table 8-25. Return Values
Return valueDescription

true

Event has been detected

false

Event has not been detected