#[repr(u8)]
pub enum HPRE_A {
DIV1,
DIV2,
DIV4,
DIV8,
DIV16,
DIV64,
DIV128,
DIV256,
DIV512,
}
Expand description
AHB prescaler
Value on reset: 0
Variants
DIV1
0: SYSCLK not divided
DIV2
8: SYSCLK divided by 2
DIV4
9: SYSCLK divided by 4
DIV8
10: SYSCLK divided by 8
DIV16
11: SYSCLK divided by 16
DIV64
12: SYSCLK divided by 64
DIV128
13: SYSCLK divided by 128
DIV256
14: SYSCLK divided by 256
DIV512
15: SYSCLK divided by 512
Trait Implementations
impl Copy for HPRE_A
impl StructuralPartialEq for HPRE_A
Auto Trait Implementations
impl RefUnwindSafe for HPRE_A
impl Send for HPRE_A
impl Sync for HPRE_A
impl Unpin for HPRE_A
impl UnwindSafe for HPRE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more