22.6.1.3.3 Function system_interrupt_set_pending()
Set a interrupt vector as pending.
enum status_code system_interrupt_set_pending( const enum system_interrupt_vector vector)
Set the requested interrupt vector as pending (i.e. issues a software interrupt request for the specified vector). The software handler will be handled (if enabled) in a priority order based on vector number and configured priority settings.
Data direction | Parameter name | Description |
---|---|---|
[in] |
vector |
Interrupt vector number which is set as pending |
Returns
Status code identifying if the vector was successfully set as pending.
Return value | Description |
---|---|
STATUS_OK |
If no error was detected |
STATUS_INVALID_ARG |
If an unsupported interrupt vector number was given |