stm32f1: adc: remove confusing "adc_on" function

This is _similar_ to adc_power_on, the common name, but has been marked
deprecated since 2012.
This commit is contained in:
Karl Palsson 2016-09-10 13:23:33 +00:00
parent d035a9cd39
commit cda59c3855
2 changed files with 0 additions and 20 deletions

View File

@ -417,8 +417,6 @@ void adc_calibration(uint32_t adc)
void adc_calibrate_async(uint32_t adc);
bool adc_is_calibrating(uint32_t adc);
void adc_calibrate(uint32_t adc);
void adc_on(uint32_t adc)
LIBOPENCM3_DEPRECATED("will be removed in the first release");
END_DECLS

View File

@ -400,24 +400,6 @@ void adc_calibrate(uint32_t adc)
while (adc_is_calibrating(adc));
}
/*---------------------------------------------------------------------------*/
/** @brief ADC Power On
If the ADC is in power-down mode then it is powered up. The application needs
to wait a time of about 3 microseconds for stabilization before using the ADC.
If the ADC is already on this function call will initiate a conversion.
@deprecated to be removed in a later release
@param[in] adc Unsigned int32. ADC block register address base @ref
adc_reg_base.
*/
void adc_on(uint32_t adc)
{
ADC_CR2(adc) |= ADC_CR2_ADON;
}
/*---------------------------------------------------------------------------*/
/** @brief ADC Set the Sample Time for a Single Channel