#[repr(u8)]pub enum Prescbufselect {
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 Buffer Value
Value on reset: 0
Variants§
Div1 = 0
0: No division
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
Div256 = 8
8: Divide by 256
Div512 = 9
9: Divide by 512
Div1024 = 10
10: Divide by 1024
Trait Implementations§
Source§impl Clone for Prescbufselect
impl Clone for Prescbufselect
Source§fn clone(&self) -> Prescbufselect
fn clone(&self) -> Prescbufselect
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 Prescbufselect
impl Debug for Prescbufselect
Source§impl From<Prescbufselect> for u8
impl From<Prescbufselect> for u8
Source§fn from(variant: Prescbufselect) -> Self
fn from(variant: Prescbufselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Prescbufselect
impl PartialEq for Prescbufselect
impl Copy for Prescbufselect
impl Eq for Prescbufselect
impl IsEnum for Prescbufselect
impl StructuralPartialEq for Prescbufselect
Auto Trait Implementations§
impl Freeze for Prescbufselect
impl RefUnwindSafe for Prescbufselect
impl Send for Prescbufselect
impl Sync for Prescbufselect
impl Unpin for Prescbufselect
impl UnwindSafe for Prescbufselect
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