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

[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 2. Return Values
Return value Description

true

Interrupt source is set

false

Interrupt source is not set