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.
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.
Return value | Description |
---|---|
STATUS_OK |
If no error was detected |
STATUS_INVALID_ARG |
If an unsupported interrupt vector number was given |