1.5.24.13 SDADC_CALLBACK Typedef

C

typedef void (*SDADC_CALLBACK)( SDADC_STATUS status, uintptr_t context)

Summary

Defines the function pointer data type and function signature for the SDADC peripheral callback function.

Description

This data type defines the function pointer and function signature for the SDADC peripheral callback function. The SDADC peripheral will call back the client's function with this signature at the end of conversion.

Precondition

SDADC_Initialize must have been called for the given SDADC peripheral instance and SDADC_CallbackRegister must have been called to set the function to be called.

Parameters

Param Description
status Interrupt flag status
context Allows the caller to provide a context value (usually a pointerto the callers context for multi-instance clients)

Returns

None.

Example

void SDADC_ChCallback (SDADC_STATUS status, uintptr_t context)
{
}

SDADC_CallbackRegister(SDADC_ChCallback, NULL);

Remarks

None.