8.6.4.8 Function events_disable_interrupt_source()

Disable interrupt source.

enum status_code events_disable_interrupt_source( struct events_resource * resource, enum events_interrupt_source source)

Disable an interrupt source so can trigger execution of an interrupt hook.

Table 8-17. 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 enable procedure.

Table 8-18. Return Values
Return valueDescription

STATUS_OK

Enabling of the interrupt source went successful

STATUS_ERR_INVALID_ARG

Interrupt source does not exist