Enum stm32wlxx_hal::pac::rcc::cfgr::HPRE_A
#[repr(u8)]pub enum HPRE_A {
Show 14 variants
Div1 = 0,
Div3 = 1,
Div5 = 2,
Div6 = 5,
Div10 = 6,
Div32 = 7,
Div2 = 8,
Div4 = 9,
Div8 = 10,
Div16 = 11,
Div64 = 12,
Div128 = 13,
Div256 = 14,
Div512 = 15,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
HCLK1 prescaler (CPU1, AHB1, AHB2, and SRAM1.)
Value on reset: 0
Variants§
Div1 = 0
0: SYSCLK not divided
Div3 = 1
1: SYSCLK divided by 3
Div5 = 2
2: SYSCLK divided by 5
Div6 = 5
5: SYSCLK divided by 6
Div10 = 6
6: SYSCLK divided by 10
Div32 = 7
7: SYSCLK divided by 32
Div2 = 8
8: SYSCLK divided by 2
Div4 = 9
9: SYSCLK divided by 4
Div8 = 10
10: SYSCLK divided by 8
Div16 = 11
11: SYSCLK divided by 16
Div64 = 12
12: SYSCLK divided by 64
Div128 = 13
13: SYSCLK divided by 128
Div256 = 14
14: SYSCLK divided by 128
Div512 = 15
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§
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