adc_dma_deinit

Deinitialize ADC.

int32_t adc_dma_deinit(
    struct adc_dma_descriptor *const descr
)

This function deinitializes the given ADC descriptor. It checks if the given hardware is initialized and if the given hardware is permitted to be deinitialized.

Parameters

descr

Type: struct adc_dma_descriptor Struct *const

An ADC descriptor to deinitialize

Returns

Type: int32_t

De-initialization status.