#[repr(u8)]pub enum PRESC_A {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
DIV256 = 8,
DIV512 = 9,
DIV1024 = 10,
}
Expand description
Prescaler Setting
Value on reset: 0
Variants§
DIV1 = 0
0: The HFPERCLK is undivided
DIV2 = 1
1: The HFPERCLK is divided by 2
DIV4 = 2
2: The HFPERCLK is divided by 4
DIV8 = 3
3: The HFPERCLK is divided by 8
DIV16 = 4
4: The HFPERCLK is divided by 16
DIV32 = 5
5: The HFPERCLK is divided by 32
DIV64 = 6
6: The HFPERCLK is divided by 64
DIV128 = 7
7: The HFPERCLK is divided by 128
DIV256 = 8
8: The HFPERCLK is divided by 256
DIV512 = 9
9: The HFPERCLK is divided by 512
DIV1024 = 10
10: The HFPERCLK is divided by 1024
Trait Implementations§
impl Copy for PRESC_A
impl StructuralPartialEq for PRESC_A
Auto Trait Implementations§
impl Freeze for PRESC_A
impl RefUnwindSafe for PRESC_A
impl Send for PRESC_A
impl Sync for PRESC_A
impl Unpin for PRESC_A
impl UnwindSafe for PRESC_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