Struct esp32c3_hal::rtc_cntl::sleep::RtcConfig
source · pub struct RtcConfig(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl RtcConfig
impl RtcConfig
pub fn clkctl_init(&self) -> bool
pub fn pwrctl_init(&self) -> bool
pub fn rtc_dboost_fpd(&self) -> bool
pub fn xtal_fpu(&self) -> bool
pub fn bbpll_fpu(&self) -> bool
pub fn cpu_waiti_clk_gate(&self) -> bool
pub fn cali_ocode(&self) -> bool
sourcepub fn set_ck8m_wait(&mut self, value: u8)
pub fn set_ck8m_wait(&mut self, value: u8)
Number of rtc_fast_clk cycles to wait for 8M clock to be ready
sourcepub fn set_xtal_wait(&mut self, value: u8)
pub fn set_xtal_wait(&mut self, value: u8)
Number of rtc_fast_clk cycles to wait for XTAL clock to be ready
sourcepub fn set_pll_wait(&mut self, value: u8)
pub fn set_pll_wait(&mut self, value: u8)
Number of rtc_fast_clk cycles to wait for PLL clock to be ready
pub fn set_clkctl_init(&mut self, value: bool)
pub fn set_pwrctl_init(&mut self, value: bool)
pub fn set_rtc_dboost_fpd(&mut self, value: bool)
pub fn set_xtal_fpu(&mut self, value: bool)
pub fn set_bbpll_fpu(&mut self, value: bool)
pub fn set_cpu_waiti_clk_gate(&mut self, value: bool)
pub fn set_cali_ocode(&mut self, value: bool)
Trait Implementations§
source§impl<T> BitRangeMut<T> for RtcConfigwhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for RtcConfigwhere u32: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
impl Copy for RtcConfig
Auto Trait Implementations§
impl RefUnwindSafe for RtcConfig
impl Send for RtcConfig
impl Sync for RtcConfig
impl Unpin for RtcConfig
impl UnwindSafe for RtcConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more