#[repr(u8)]pub enum PRESC {
Div1 = 0,
Div2 = 1,
Div4 = 2,
Div8 = 3,
Div16 = 4,
Div32 = 5,
Div64 = 6,
Div128 = 7,
}
Expand description
Clock prescaler
Value on reset: 0
Variants§
Div1 = 0
0: /1
Div2 = 1
1: /2
Div4 = 2
2: /4
Div8 = 3
3: /8
Div16 = 4
4: /16
Div32 = 5
5: /32
Div64 = 6
6: /64
Div128 = 7
7: /128
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