adc_os_deinit

Deinitialize ADC.

int32_t adc_os_deinit(
    struct adc_os_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_os_descriptor Struct *const

An ADC descriptor to deinitialize

Returns

Type: int32_t

ERR_NONE