1.2.9.8 1.3.10.9 1.4.8.8 1.5.9.9 1.6.10.9 1.7.11.9 1.29.10.9 1.30.7.9 1.31.7.9 1.32.11.9 1.33.7.9 1.37.7.9 1.38.8.8 1.39.7.9 1.40.8.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.