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 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 enable procedure.

Table 2. Return Values
Return value Description

STATUS_OK

Enabling of the interrupt source went successful

STATUS_ERR_INVALID_ARG

Interrupt source does not exist