Skip to main content

rtc_calib_init_code

Function rtc_calib_init_code 

Source
pub fn rtc_calib_init_code(
    _unit: AdcCalibUnit,
    atten: Attenuation,
) -> Option<u16>
Available on crate feature unstable only.
Expand description

Get ADC initial code for specified attenuation from efuse

see https://github.com/espressif/esp-idf/blob/903af13e8/components/efuse/esp32c6/esp_efuse_rtc_calib.c#L32

ยงStability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.