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.

Table 22-8. Parameters
Data directionParameter nameDescription

[in]

vector

Interrupt vector number which is set as pending

Returns

Status code identifying if the vector was successfully set as pending.

Table 22-9. Return Values
Return valueDescription

STATUS_OK

If no error was detected

STATUS_INVALID_ARG

If an unsupported interrupt vector number was given