Enum stm32_metapac::rcc::vals::Rtcpre
#[repr(u8)]pub enum Rtcpre {
DIV2 = 0,
DIV4 = 1,
DIV8 = 2,
DIV16 = 3,
}
Variants§
DIV2 = 0
HSE divided by 2
DIV4 = 1
HSE divided by 4
DIV8 = 2
HSE divided by 8
DIV16 = 3
HSE divided by 16
Implementations§
Trait Implementations§
§impl Ord for Rtcpre
impl Ord for Rtcpre
§impl PartialOrd for Rtcpre
impl PartialOrd for Rtcpre
§fn partial_cmp(&self, other: &Rtcpre) -> Option<Ordering>
fn partial_cmp(&self, other: &Rtcpre) -> 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 Rtcpre
impl Eq for Rtcpre
impl StructuralEq for Rtcpre
impl StructuralPartialEq for Rtcpre
Auto Trait Implementations§
impl RefUnwindSafe for Rtcpre
impl Send for Rtcpre
impl Sync for Rtcpre
impl Unpin for Rtcpre
impl UnwindSafe for Rtcpre
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