22.6.1.3.4 Function system_interrupt_clear_pending()

Clear pending interrupt vector.

enum status_code system_interrupt_clear_pending( const enum system_interrupt_vector vector)

Clear a pending interrupt vector, so the software handler is not executed.

Table 22-10. Parameters
Data directionParameter nameDescription

[in]

vector

Interrupt vector number to clear

Returns

A status code identifying if the interrupt pending state was successfully cleared.

Table 22-11. Return Values
Return valueDescription

STATUS_OK

If no error was detected

STATUS_INVALID_ARG

If an unsupported interrupt vector number was given