pub struct RtcClock;Available on crate feature
unstable only.Expand description
RTC Clocks.
§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.
Implementations§
Source§impl RtcClock
RTC Watchdog Timer driver.
impl RtcClock
RTC Watchdog Timer driver.
Sourcepub fn xtal_freq() -> XtalClock
pub fn xtal_freq() -> XtalClock
Get main XTAL frequency.
This is the value stored in RTC register RTC_XTAL_FREQ_REG during esp-hal startup.
§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.
Sourcepub fn slow_freq() -> RtcSlowClock
pub fn slow_freq() -> RtcSlowClock
Get the RTC_SLOW_CLK source
Auto Trait Implementations§
impl Freeze for RtcClock
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