2.70.29 NVMCTRL_DisableMainFlashInterruptSource Function

C

void NVMCTRL_DisableMainFlashInterruptSource(NVMCTRL_INTERRUPT0_SOURCE int_source)

Summary

Disables a given interrupt source for the Flash.

Description

There are multiple interrupt sources supported by the NVMCTRL peripheral. It supports two interrupt vectors, one for interrupts from the SmartEEPROM and another for all other interrupts of the NVMCTRL. This function disables the given interrupt for the first vector which is used by all interrupts except the ones from SmartEEPROM.

Precondition

Interrupt option in MCC should have been enabled.

Parameters

ParamDescription
int_sourceRefer to enum NVMCTRL_INTERRUPT0_SOURCE for possible values.

Returns

None.

Example

NVMCTRL_DisableMainFlashInterruptSource(NVMCTRL_INT_LOCKE);

Remarks

This API is available only if the main interrupt is enabled via the MCC tree.