Struct esp32s3_hal::rtc_cntl::RtcClock
source · pub struct RtcClock;
Expand description
RTC Watchdog Timer
Implementations§
source§impl RtcClock
impl RtcClock
RTC Watchdog Timer driver
sourcepub fn get_xtal_freq() -> XtalClock
pub fn get_xtal_freq() -> XtalClock
Get main XTAL frequency This is the value stored in RTC register RTC_XTAL_FREQ_REG by the bootloader, as passed to rtc_clk_init function.
sourcepub fn get_slow_freq() -> RtcSlowClock
pub fn get_slow_freq() -> RtcSlowClock
Get the RTC_SLOW_CLK source
Auto Trait Implementations§
impl RefUnwindSafe for RtcClock
impl Send for RtcClock
impl Sync for RtcClock
impl Unpin for RtcClock
impl UnwindSafe for RtcClock
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