1.37.7.3 EIC_NMICallbackRegister Function
C
void EIC_NMICallbackRegister (EIC_NMI_CALLBACK callback, uintptr_t context);
Summary
Registers the function to be called when an interrupt condition has been sensed on the NMI pin.
Description
This function registers the callback function to be called when an interrupt condition has been sensed on the NMI pin.
Precondition
EIC_Initialize() must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
callback | callback function pointer. Setting this to NULL will disable the callback feature |
context | Allows the caller to provide a context value |
Returns
None.
Example
// Refer to the description of the EIC_NMI_CALLBACK data type for details on // API usage.
Remarks
None.