3.3.6.5 EIC_NMICallbackRegister

Registers the function to be called when an interrupt condition has been sensed on the NMI pin.

This function registers the callback function to be called when an interrupt condition has been sensed on the NMI pin.

void 
NVMCTRL_NMICallbackRegister
(
     EIC_NMI_CALLBACK callback, 
     uintptr_t context
);

Precondition

  • EIC_Initialize() must have been called first for the associated instance.

Parameters

  • callback - callback function pointer. Setting this to NULL will disable the callback feature
  • context - Allows the caller to provide a context value

Returns

  • void