1.32.16.22 NVMCTRL_EnableSmartEepromInterruptSource Function

C

void NVMCTRL_EnableSmartEepromInterruptSource(NVMCTRL_INTERRUPT1_SOURCE int_source)

Summary

Enables a given interrupt source for the SmartEEPROM.

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 enables a given interrupt for the second vector which is used by all interrupts from the SmartEEPROM.

Precondition

Interrupt option in MHC should have been enabled.

Parameters

Param Description
int_source Refer to enum NVMCTRL_INTERRUPT1_SOURCE for possible values.

Returns

None.

Example

NVMCTRL_EnableSmartEepromInterruptSource(NVMCTRL_INT_SEEWRC);

Remarks

This API is available only if the SmartEEPROM interrupt is enabled via the MHC tree.