Register ADC callback.
int32_t adc_dma_register_callback( struct adc_dma_descriptor *const descr, const enum adc_dma_callback_type type, adc_dma_cb_t cb )
An ADC descriptor
Type: const enum adc_dma_callback_type Enum
Callback type
Type: adc_dma_cb_t typedef
A callback function, passing NULL de-registers callback
Type: int32_t
The status of the callback assignment.
Passed parameters were invalid or the ADC is not initialized
A callback is registered successfully