1.20.7.7 EVIC_SourceStatusClear Function

C

void EVIC_SourceStatusClear( INT_SOURCE source )

Summary

Clears the status of the interrupt flag for the selected source.

Description

This function clears the status of the interrupt flag for the selected source. The flag is set when the interrupt request is identified. 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

None.

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.