1.2.2.38 ADC_CORE_CALLBACK Typedef

C

typedef void (*ADC_CORE_CALLBACK)(ADC_CORE_INT status, uintptr_t context);

Summary

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

Description

This data type defines the function pointer and function signature for the adc peripheral core callback function. The adc peripheral will call back the client's function with this signature when any ADC core event occurs.

Parameters

Param Description
status status of the ADC core interrupts
context Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients)

Returns

None.

Example

void ADC_CoreCallback (ADC_CORE_INT status, uintptr_t context)
{
    
}

void ADC_CORE1CallbackRegister(ADC_CoreCallback, NULL);

Remarks

None.