1.25.22.23 1.26.19.23 SMC_CALLBACK Typedef
C
typedef void (* SMC_CALLBACK)( uintptr_t context, uint32_t interruptStatus )
Summary
Defines the data type and function signature for the SMC peripheral callback function.
Description
This data type defines the function signature for the SMC peripheral callback function. The SMC peripheral will call back the client's function with this signature when the SMC interrupt has occurred.
Precondition
SMC_Initialize must have been called for the given SMC peripheral instance. Callback must have been registered using SMC_CallbackRegister().
Parameters
Param | Description |
---|---|
context | Allows the caller to provide a context value (usually a pointerto the callers context for multiple clients). |
interruptStatus | SMC interrupt status |
Returns
None.
Example
void smcCallback( uintptr_t context, uint32_t interruptStatus )
{
}
SMC_CallbackRegister(smcCallback, (uintptr_t)NULL);
Remarks
None.