1.31.7.9 EIC_NMI_CALLBACK Typedef
C
typedef void (*EIC_NMI_CALLBACK) (uintptr_t context);
Summary
Defines the data type and function signature of the EIC peripheral NMI callback function.
Description
This data type defines the function signature of the EIC peripheral NMI callback function. The EIC peripheral will call back the client's function with this signature when a interrupt condition has been sensed on the NMI pin.
Precondition
EIC_Initialize must have been called for the given EIC peripheral instance and EIC_NMICallbackRegister must have been called to set the function to be called.
Parameters
Param | Description |
---|---|
context | Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients) |
Returns
None.
Example
void EIC_NMICallback (uintptr_t context)
{
// This pin an interrupt condition has been sensed on the NMI Pin.
}
EIC_NMICallbackRegister(EIC_NMICallback, 0);
Remarks
None.