3.1.4.17 ICM_EnableInterrupt Function

C

void ICM_EnableInterrupt (ICM_INTERRUPT_SOURCE source, ICM_REGION_ID regionId);

Summary

Sets the interrupt source of a memory region of the ICM peripheral.

Description

Enables the interrupt source of the memory region with regionId identifier.

Precondition

ICM callback function must be previously registered.

Parameters

ParamDescription
sourceSource of the interrupt to enable.
regionIdIdentifies the memory region to enable interrupt.

Returns

None.

Example


ICM_CallbackRegister(ICM_INTERRUPT_RDM, _appDigestMismatchCallback);
ICM_EnableInterrupt(ICM_INTERRUPT_RDM, ICM_REGION_0);
ICM_EnableInterrupt(ICM_INTERRUPT_RDM, ICM_REGION_1);

Remarks

None.