Enum embassy_stm32::rcc::APBPrescaler
source · #[repr(u8)]pub enum APBPrescaler {
DIV1 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
DIV2 = 4,
DIV4 = 5,
DIV8 = 6,
DIV16 = 7,
}
Variants§
DIV1 = 0
rcc_hclk not divided
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
DIV2 = 4
rcc_hclk divided by 2
DIV4 = 5
rcc_hclk divided by 4
DIV8 = 6
rcc_hclk divided by 8
DIV16 = 7
rcc_hclk divided by 16
Implementations§
Trait Implementations§
source§impl Ord for Ppre
impl Ord for Ppre
source§impl PartialEq for Ppre
impl PartialEq for Ppre
source§impl PartialOrd for Ppre
impl PartialOrd for Ppre
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 Ppre
impl Eq for Ppre
impl StructuralEq for Ppre
impl StructuralPartialEq for Ppre
Auto Trait Implementations§
impl RefUnwindSafe for Ppre
impl Send for Ppre
impl Sync for Ppre
impl Unpin for Ppre
impl UnwindSafe for Ppre
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