#[repr(u8)]pub enum SmctrlPrsc {
ONE = 0,
TWO = 1,
FOUR = 2,
EIGHT = 3,
SIXTEEN = 4,
THIRTYTWO = 5,
SIXTYFOUR = 6,
HUNDREDTWENTYEIGHT = 7,
}Variants§
ONE = 0
Prescaler 1
TWO = 1
Prescaler 2
FOUR = 2
Prescaler 4
EIGHT = 3
Prescaler 8
SIXTEEN = 4
Prescaler 16
THIRTYTWO = 5
Prescaler 32
SIXTYFOUR = 6
Prescaler 64
HUNDREDTWENTYEIGHT = 7
Prescaler 128
Implementations§
Source§impl SmctrlPrsc
impl SmctrlPrsc
Trait Implementations§
Source§impl Clone for SmctrlPrsc
impl Clone for SmctrlPrsc
Source§fn clone(&self) -> SmctrlPrsc
fn clone(&self) -> SmctrlPrsc
Returns a duplicate 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 SmctrlPrsc
impl Debug for SmctrlPrsc
Source§impl From<SmctrlPrsc> for u8
impl From<SmctrlPrsc> for u8
Source§fn from(val: SmctrlPrsc) -> u8
fn from(val: SmctrlPrsc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmctrlPrsc
impl From<u8> for SmctrlPrsc
Source§fn from(val: u8) -> SmctrlPrsc
fn from(val: u8) -> SmctrlPrsc
Converts to this type from the input type.
Source§impl Ord for SmctrlPrsc
impl Ord for SmctrlPrsc
Source§fn cmp(&self, other: &SmctrlPrsc) -> Ordering
fn cmp(&self, other: &SmctrlPrsc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmctrlPrsc
impl PartialEq for SmctrlPrsc
Source§impl PartialOrd for SmctrlPrsc
impl PartialOrd for SmctrlPrsc
impl Copy for SmctrlPrsc
impl Eq for SmctrlPrsc
impl StructuralPartialEq for SmctrlPrsc
Auto Trait Implementations§
impl Freeze for SmctrlPrsc
impl RefUnwindSafe for SmctrlPrsc
impl Send for SmctrlPrsc
impl Sync for SmctrlPrsc
impl Unpin for SmctrlPrsc
impl UnwindSafe for SmctrlPrsc
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