pub enum RtcClock {
Lse,
Lsi,
Hse {
divider: u8,
},
}Variants§
Lse
LSE (Low-Speed External)
This is in the Backup power domain, and so it can remain operational as long as VBat is present.
Lsi
LSI (Low-Speed Internal)
This clock remains functional in Stop or Standby mode, but requires VDD to remain powered. LSI is an RC oscillator and has poor accuracy.
Hse
HSE (High-Speed External) divided by 2..=31
The resulting clock must be lower than 1MHz. This clock is automatically disabled by hardware when the CPU enters Stop or standby mode.
Trait Implementations§
impl Copy for RtcClock
impl StructuralPartialEq for RtcClock
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