#[repr(u8)]pub enum Cpudivselect {
Div1 = 0,
Div2 = 1,
Div4 = 2,
Div8 = 3,
Div16 = 4,
Div32 = 5,
Div64 = 6,
Div128 = 7,
}
Expand description
CPU Prescaler Selection
Value on reset: 0
Variants§
Div1 = 0
0: Divide by 1
Div2 = 1
1: Divide by 2
Div4 = 2
2: Divide by 4
Div8 = 3
3: Divide by 8
Div16 = 4
4: Divide by 16
Div32 = 5
5: Divide by 32
Div64 = 6
6: Divide by 64
Div128 = 7
7: Divide by 128
Trait Implementations§
Source§impl Clone for Cpudivselect
impl Clone for Cpudivselect
Source§fn clone(&self) -> Cpudivselect
fn clone(&self) -> Cpudivselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Cpudivselect
impl Debug for Cpudivselect
Source§impl From<Cpudivselect> for u8
impl From<Cpudivselect> for u8
Source§fn from(variant: Cpudivselect) -> Self
fn from(variant: Cpudivselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Cpudivselect
impl PartialEq for Cpudivselect
impl Copy for Cpudivselect
impl Eq for Cpudivselect
impl IsEnum for Cpudivselect
impl StructuralPartialEq for Cpudivselect
Auto Trait Implementations§
impl Freeze for Cpudivselect
impl RefUnwindSafe for Cpudivselect
impl Send for Cpudivselect
impl Sync for Cpudivselect
impl Unpin for Cpudivselect
impl UnwindSafe for Cpudivselect
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