1.41.10.4 1.42.8.4 NMIC_CALLBACK Typedef

C

typedef void (*NMIC_CALLBACK)(uintptr_t context, uint32_t int_cause)

Summary

Defines the data type and function signature for the NMIC peripheral callback function.

Description

This data type defines the function signature for the NMIC peripheral callback function. The NMIC peripheral will call back the client's function with this signature once the interrupt occurs.

Precondition

NMIC_CallbackRegister 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 pointerto the callers context for multi-instance clients)
int_cause Specifies the source that lead to NMI interrupt

Returns

None.

Remarks

None.