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
| Parameters | Description |
|---|---|
| source | Source of the interrupt to enable |
| regionId | Identifies 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.
