8.6.4.14 Function events_is_interrupt_set()

Check if interrupt source is set.

bool events_is_interrupt_set( struct events_resource * resource, enum events_interrupt_source source)

Check if an interrupt source is set and should be processed.

Table 8-26. Parameters
Data directionParameter nameDescription

[in]

resource

Pointer to an events_resource struct instance

[in]

source

One of the members in the events_interrupt_source enumerator

Returns

Status of the interrupt source.

Table 8-27. Return Values
Return valueDescription

true

Interrupt source is set

false

Interrupt source is not set