8.6.4.1 Function events_ack_interrupt()
Acknowledge an interrupt source.
enum status_code events_ack_interrupt( struct events_resource * resource, enum events_interrupt_source source)
Acknowledge an interrupt source so the interrupt state is cleared in hardware.
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 |
---|---|
STATUS_OK |
Interrupt source was acknowledged successfully |