adc_sync_disable_channel

Disable ADC.

int32_t adc_sync_disable_channel(
    struct adc_sync_descriptor *const descr,
    const uint8_t channel
)

Use this function to set the ADC peripheral to disabled state.

Parameters

descr

Type: struct adc_sync_descriptor Struct *const

Pointer to the ADC descriptor

channel

Type: const uint8_t

Channel number

Returns

Type: int32_t

Operation status