1.26.2.4 AIC_INT_IrqRestore Function

C

void AIC_INT_IrqRestore ( bool state )

Summary

Restores interrupt state.

Description

This function enable or disable the interrupt based on the state.

Precondition

AIC should be initialized with a call to AIC_Initialize() function.

Parameters

Param Description
state state that needs to be restored

Returns

None.

Example

bool state = AIC_INT_IrqDisable ( );

/* Execute critical section */

AIC_INT_IrqRestore(state);

Remarks

None.