1.2.8.9 SYS_INT_SourceStatusGet Function
C
bool SYS_INT_SourceStatusGet( INT_SOURCE source )
Summary
Gets the pending status of the specified interrupt source.
Description
This function returns the pending status of the specified interrupt source at the interrupt controller level.
Precondition
None.
Parameters
Param | Description |
---|---|
source | Interrupt source/line available at interrupt controller. |
Returns
- true - Interrupt status is pending.
- false - Interrupt status is not pending.
Example
bool usart0IntStatus = SYS_INT_SourceStatusGet(USART0_IRQn);
Remarks
Interrupt pending status may get cleared automatically once the corresponding interrupt vector executes on some devices.