Enum Clockswitchtimer
#[repr(u8)]pub enum Clockswitchtimer {
Timervalue19 = 0,
Timervalue15 = 1,
Timervalue147 = 2,
Timervalue50 = 3,
Timervalue100 = 4,
Timervalue125 = 5,
Timervalue200 = 6,
Timerdisabled = 7,
}Variants§
Timervalue19 = 0
timer value set to 19.
Timervalue15 = 1
timer value set to 15.
Timervalue147 = 2
timer value set to 147.
Timervalue50 = 3
timer value set to 50.
Timervalue100 = 4
timer value set to 100.
Timervalue125 = 5
timer value set to 125.
Timervalue200 = 6
timer value set to 200.
Timerdisabled = 7
timer is disabled.
Implementations§
§impl Clockswitchtimer
impl Clockswitchtimer
pub const fn from_bits(val: u8) -> Clockswitchtimer
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Clockswitchtimer
impl Clone for Clockswitchtimer
§fn clone(&self) -> Clockswitchtimer
fn clone(&self) -> Clockswitchtimer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Clockswitchtimer
impl Eq for Clockswitchtimer
§impl From<u8> for Clockswitchtimer
impl From<u8> for Clockswitchtimer
§fn from(val: u8) -> Clockswitchtimer
fn from(val: u8) -> Clockswitchtimer
Converts to this type from the input type.
§impl Ord for Clockswitchtimer
impl Ord for Clockswitchtimer
§fn cmp(&self, other: &Clockswitchtimer) -> Ordering
fn cmp(&self, other: &Clockswitchtimer) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Clockswitchtimer
impl PartialEq for Clockswitchtimer
§impl PartialOrd for Clockswitchtimer
impl PartialOrd for Clockswitchtimer
impl StructuralPartialEq for Clockswitchtimer
Auto Trait Implementations§
impl Forget for Clockswitchtimer
impl Freeze for Clockswitchtimer
impl Move for Clockswitchtimer
impl RefUnwindSafe for Clockswitchtimer
impl Send for Clockswitchtimer
impl Sync for Clockswitchtimer
impl Unpin for Clockswitchtimer
impl UnsafeUnpin for Clockswitchtimer
impl UnwindSafe for Clockswitchtimer
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