//! [ADC calibration is not implemented for all targets]: https://github.com/esp-rs/esp-hal/issues/326
impl<PIN: core::fmt::Debug, ADCX, CS: core::fmt::Debug> core::fmt::Debug for AdcPin<PIN, ADCX, CS> {
/// <https://github.com/espressif/esp-idf/blob/v6.1/components/esp_hal_ana_conv/adc_hal_common.c>.
/// Number of times the search below is repeated. The extremes are discarded and the rest averaged.
/// Finds the initial code that cancels out the calibration source the unit is currently connected
/// The initial code shifts the SAR's transfer curve down, so the reading drops to zero once the
/// code reaches the source, and finding that step is an ordinary bisection. Noise moves the step
/// <https://github.com/espressif/esp-idf/blob/v6.1/components/esp_hal_ana_conv/adc_hal_common.c>.