1.10.10.5 1.11.10.5 1.12.10.5 1.13.9.5 1.14.9.5 1.15.9.5 1.16.7.5 1.17.7.5 1.18.8.5 1.19.7.5 1.20.7.5 1.21.8.5 1.22.11.5 1.23.11.5 1.24.10.5 EVIC_SourceStatusGet Function
C
bool EVIC_SourceStatusGet( INT_SOURCE source )
Summary
Returns the status of the interrupt flag for the selected source.
Description
This function returns the status of the interrupt flag for the selected source. The flag is set when the interrupt request is recognized. The pending interrupt request will not cause further processing if the interrupt is not enabled using the function EVIC_SourceEnable or if interrupts are not enabled.
Precondition
EVIC_Initialize() function must have been called first.
Parameters
Param | Description |
---|---|
source | One of the possible values from INT_SOURCE. |
Returns
-
true: If the interrupt request is recognized for the source - false: If the interrupt request is not recognized for the source
Example
if(EVIC_SourceStatusGet(INT_SOURCE_CORE_TIMER) != true) { EVIC_SourceStatusClear(INT_SOURCE_CORE_TIMER); }
Remarks
This function implements an operation of the SourceFlag feature. This feature may not be available on all devices. Please refer to the specific device data sheet to determine availability.