Enum embassy_stm32::rcc::RtcClockSource
source · #[repr(u8)]pub enum RtcClockSource {
DISABLE = 0,
LSE = 1,
LSI = 2,
HSE = 3,
}
Variants§
DISABLE = 0
No clock
LSE = 1
LSE oscillator clock used as RTC clock
LSI = 2
LSI oscillator clock used as RTC clock
HSE = 3
HSE oscillator clock divided by a prescaler used as RTC clock
Implementations§
Trait Implementations§
source§impl Ord for Rtcsel
impl Ord for Rtcsel
source§impl PartialEq for Rtcsel
impl PartialEq for Rtcsel
source§impl PartialOrd for Rtcsel
impl PartialOrd for Rtcsel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Rtcsel
impl Eq for Rtcsel
impl StructuralEq for Rtcsel
impl StructuralPartialEq for Rtcsel
Auto Trait Implementations§
impl RefUnwindSafe for Rtcsel
impl Send for Rtcsel
impl Sync for Rtcsel
impl Unpin for Rtcsel
impl UnwindSafe for Rtcsel
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