Enum embassy_stm32::rcc::AHBPrescaler
source · #[repr(u8)]pub enum AHBPrescaler {
Show 16 variants
DIV1 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
DIV2 = 8,
DIV4 = 9,
DIV8 = 10,
DIV16 = 11,
DIV64 = 12,
DIV128 = 13,
DIV256 = 14,
DIV512 = 15,
}
Variants§
DIV1 = 0
sys_ck not divided
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
DIV2 = 8
sys_ck divided by 2
DIV4 = 9
sys_ck divided by 4
DIV8 = 10
sys_ck divided by 8
DIV16 = 11
sys_ck divided by 16
DIV64 = 12
sys_ck divided by 64
DIV128 = 13
sys_ck divided by 128
DIV256 = 14
sys_ck divided by 256
DIV512 = 15
sys_ck divided by 512
Implementations§
Trait Implementations§
source§impl Ord for Hpre
impl Ord for Hpre
source§impl PartialEq for Hpre
impl PartialEq for Hpre
source§impl PartialOrd for Hpre
impl PartialOrd for Hpre
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 Hpre
impl Eq for Hpre
impl StructuralEq for Hpre
impl StructuralPartialEq for Hpre
Auto Trait Implementations§
impl RefUnwindSafe for Hpre
impl Send for Hpre
impl Sync for Hpre
impl Unpin for Hpre
impl UnwindSafe for Hpre
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