Struct esp32s2::timg0::rtccalicfg::R
source · pub struct R(_);Expand description
Register RTCCALICFG reader
Implementations§
source§impl R
impl R
sourcepub fn rtc_cali_start_cycling(&self) -> RTC_CALI_START_CYCLING_R
pub fn rtc_cali_start_cycling(&self) -> RTC_CALI_START_CYCLING_R
Bit 12 - When set, periodic calibration is enabled.
sourcepub fn rtc_cali_clk_sel(&self) -> RTC_CALI_CLK_SEL_R
pub fn rtc_cali_clk_sel(&self) -> RTC_CALI_CLK_SEL_R
Bits 13:14 - Used to select the clock to be calibrated. 0: RTC_CLK. 1: RTC20M_D256_CLK. 2: XTAL32K_CLK.
sourcepub fn rtc_cali_rdy(&self) -> RTC_CALI_RDY_R
pub fn rtc_cali_rdy(&self) -> RTC_CALI_RDY_R
Bit 15 - Set this bit to mark the completion of calibration.
sourcepub fn rtc_cali_max(&self) -> RTC_CALI_MAX_R
pub fn rtc_cali_max(&self) -> RTC_CALI_MAX_R
Bits 16:30 - Calibration time, in cycles of the clock to be calibrated.
sourcepub fn rtc_cali_start(&self) -> RTC_CALI_START_R
pub fn rtc_cali_start(&self) -> RTC_CALI_START_R
Bit 31 - Set this bit to starts calibration.