#[repr(u8)]pub enum PRESC {
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
impl Eq for PRESC
impl IsEnum for PRESC
impl StructuralPartialEq for PRESC
Auto Trait Implementations§
impl Freeze for PRESC
impl RefUnwindSafe for PRESC
impl Send for PRESC
impl Sync for PRESC
impl Unpin for PRESC
impl UnwindSafe for PRESC
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