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 1. Parameters
Data direction Parameter name Description

[in]

vector

Interrupt vector number to clear

Returns

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

Table 2. Return Values
Return value Description

STATUS_OK

If no error was detected

STATUS_INVALID_ARG

If an unsupported interrupt vector number was given