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 1. Parameters
Data direction Parameter name Description

[in]

resource

Pointer to an events_resource struct

Returns

Status of the event detection interrupt flag.

Table 2. Return Values
Return value Description

true

Event has been detected

false

Event has not been detected