#[repr(u8)]pub enum Pselselect {
Nodiv = 0,
Div4 = 1,
Div8 = 2,
Div16 = 3,
Div32 = 4,
Div64 = 5,
Div128 = 6,
Div256 = 7,
}
Expand description
Prescaler Select
Value on reset: 0
Variants§
Nodiv = 0
0: Not divided
Div4 = 1
1: Divide clock by 4
Div8 = 2
2: Divide clock by 8
Div16 = 3
3: Divide clock by 16
Div32 = 4
4: Divide clock by 32
Div64 = 5
5: Divide clock by 64
Div128 = 6
6: Divide clock by 128
Div256 = 7
7: Divide clock by 256
Trait Implementations§
Source§impl Clone for Pselselect
impl Clone for Pselselect
Source§fn clone(&self) -> Pselselect
fn clone(&self) -> Pselselect
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 Pselselect
impl Debug for Pselselect
Source§impl From<Pselselect> for u8
impl From<Pselselect> for u8
Source§fn from(variant: Pselselect) -> Self
fn from(variant: Pselselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Pselselect
impl PartialEq for Pselselect
impl Copy for Pselselect
impl Eq for Pselselect
impl IsEnum for Pselselect
impl StructuralPartialEq for Pselselect
Auto Trait Implementations§
impl Freeze for Pselselect
impl RefUnwindSafe for Pselselect
impl Send for Pselselect
impl Sync for Pselselect
impl Unpin for Pselselect
impl UnwindSafe for Pselselect
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