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.

Table 8-3. 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-4. Return Values
Return valueDescription

STATUS_OK

Interrupt source was acknowledged successfully