#[repr(u8)]pub enum Ostimerclksel {
ENUM_0X0 = 0,
ENUM_0X1 = 1,
ENUM_0X2 = 2,
ENUM_0X3 = 3,
}Variants§
ENUM_0X0 = 0
Oscillator 32 kHz clock.
ENUM_0X1 = 1
FRO 1MHz clock.
ENUM_0X2 = 2
Main clock for OS timer.
ENUM_0X3 = 3
No clock.
Implementations§
Source§impl Ostimerclksel
impl Ostimerclksel
Trait Implementations§
Source§impl Clone for Ostimerclksel
impl Clone for Ostimerclksel
Source§fn clone(&self) -> Ostimerclksel
fn clone(&self) -> Ostimerclksel
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 Ostimerclksel
impl Debug for Ostimerclksel
Source§impl From<Ostimerclksel> for u8
impl From<Ostimerclksel> for u8
Source§fn from(val: Ostimerclksel) -> u8
fn from(val: Ostimerclksel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ostimerclksel
impl From<u8> for Ostimerclksel
Source§fn from(val: u8) -> Ostimerclksel
fn from(val: u8) -> Ostimerclksel
Converts to this type from the input type.
Source§impl Ord for Ostimerclksel
impl Ord for Ostimerclksel
Source§fn cmp(&self, other: &Ostimerclksel) -> Ordering
fn cmp(&self, other: &Ostimerclksel) -> 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 Ostimerclksel
impl PartialEq for Ostimerclksel
Source§impl PartialOrd for Ostimerclksel
impl PartialOrd for Ostimerclksel
impl Copy for Ostimerclksel
impl Eq for Ostimerclksel
impl StructuralPartialEq for Ostimerclksel
Auto Trait Implementations§
impl Freeze for Ostimerclksel
impl RefUnwindSafe for Ostimerclksel
impl Send for Ostimerclksel
impl Sync for Ostimerclksel
impl Unpin for Ostimerclksel
impl UnwindSafe for Ostimerclksel
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