Enum stm32_metapac::rcc::vals::Rtcsel
#[repr(u8)]pub enum Rtcsel {
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§
§impl Ord for Rtcsel
impl Ord for Rtcsel
§impl PartialOrd for Rtcsel
impl PartialOrd for Rtcsel
§fn partial_cmp(&self, other: &Rtcsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Rtcsel) -> Option<Ordering>
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 StructuralPartialEq for Rtcsel
Auto Trait Implementations§
impl Freeze for Rtcsel
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