stm32: adc: drop non-existant adc_set_single_channel
Was only in the (obviously out of date) documented example and as a declaration. No implementations. Dropping immediately, but documentation still needs further work.
This commit is contained in:
parent
fbd25fb16f
commit
ff6cc954b7
@ -402,7 +402,6 @@ and ADC2
|
||||
BEGIN_DECLS
|
||||
|
||||
void adc_start_conversion_direct(uint32_t adc);
|
||||
void adc_set_single_channel(uint32_t adc, uint8_t channel);
|
||||
void adc_set_dual_mode(uint32_t mode);
|
||||
void adc_enable_temperature_sensor(uint32_t adc);
|
||||
void adc_disable_temperature_sensor(uint32_t adc);
|
||||
|
@ -60,7 +60,6 @@ and ADC, reset ADC and set the prescaler divider. Set dual mode to independent
|
||||
adc_disable_scan_mode(ADC1);
|
||||
adc_set_single_conversion_mode(ADC1);
|
||||
adc_set_sample_time(ADC1, ADC_CHANNEL0, ADC_SMPR1_SMP_1DOT5CYC);
|
||||
adc_set_single_channel(ADC1, ADC_CHANNEL0);
|
||||
adc_enable_trigger(ADC1, ADC_CR2_EXTSEL_SWSTART);
|
||||
adc_power_on(ADC1);
|
||||
adc_reset_calibration(ADC1);
|
||||
|
@ -63,7 +63,6 @@ and ADC, reset ADC and set the prescaler divider. Set dual mode to independent
|
||||
adc_disable_scan_mode(ADC1);
|
||||
adc_set_single_conversion_mode(ADC1);
|
||||
adc_set_sample_time(ADC1, ADC_CHANNEL0, ADC_SMPR1_SMP_1DOT5CYC);
|
||||
adc_set_single_channel(ADC1, ADC_CHANNEL0);
|
||||
adc_enable_trigger(ADC1, ADC_CR2_EXTSEL_SWSTART);
|
||||
adc_power_on(ADC1);
|
||||
adc_reset_calibration(ADC1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user