5.1.4.4 adc_async_enable_channel
Enable channel of ADC.
int32_t adc_async_enable_channel(
struct adc_async_descriptor *const descr,
const uint8_t channel
)
Use this function to set the ADC peripheral to enabled state.
Parameters
- descr
-
Type: struct adc_async_descriptor Struct *const
Pointer to the ADC descriptor
- channel
-
Type: const uint8_t
Channel number
Returns
Type: int32_t
Operation status.