5.4.2.3 adc_sync_enable_channel
Enable ADC.
int32_t adc_sync_enable_channel(
struct adc_sync_descriptor *const descr,
const uint8_t channel
)
Use this function to set the ADC peripheral to enabled 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