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.
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.
Return value | Description |
---|---|
true |
Interrupt source is set |
false |
Interrupt source is not set |