Enum AHBPrescaler
#[repr(u8)]pub enum AHBPrescaler {
Show 16 variants
DIV1 = 0,
DIV3 = 1,
DIV5 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
DIV6 = 5,
DIV10 = 6,
DIV32 = 7,
DIV2 = 8,
DIV4 = 9,
DIV8 = 10,
DIV16 = 11,
DIV64 = 12,
DIV128 = 13,
DIV256 = 14,
DIV512 = 15,
}
Variants§
DIV1 = 0
DCLK not divided
DIV3 = 1
hclk = SYSCLK divided by 3
DIV5 = 2
hclk = SYSCLK divided by 5
_RESERVED_3 = 3
_RESERVED_4 = 4
DIV6 = 5
hclk = SYSCLK divided by 6
DIV10 = 6
hclk = SYSCLK divided by 8
DIV32 = 7
hclk = SYSCLK divided by 32
DIV2 = 8
hclk = SYSCLK divided by 2
DIV4 = 9
hclk = SYSCLK divided by 4
DIV8 = 10
hclk = SYSCLK divided by 8
DIV16 = 11
hclk = SYSCLK divided by 16
DIV64 = 12
hclk = SYSCLK divided by 64
DIV128 = 13
hclk = SYSCLK divided by 128
DIV256 = 14
hclk = SYSCLK divided by 256
DIV512 = 15
hclk = SYSCLK divided by 256
Implementations§
Trait Implementations§
§impl Ord for Hpre
impl Ord for Hpre
§impl PartialOrd for Hpre
impl PartialOrd for Hpre
impl Copy for Hpre
impl Eq for Hpre
impl StructuralPartialEq for Hpre
Auto Trait Implementations§
impl Freeze for Hpre
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