3.3.1.1 ADCx_CallbackRegister
Registers the function to be called from interrupt.
void
ADCx_CallbackRegister
(
ADC_CALLBACK callback,
uintptr_t context
);
Precondition
- ADC_Initialize() must have been called first for the associated instance. Interrupt option in MCC should have been enabled.
Parameters
- callback - callback function pointer
- context - Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients)
Returns
- void
