#[repr(u8)]pub enum MODESELECT_A {
COUNT32 = 0,
COUNT16 = 1,
CLOCK = 2,
}
Expand description
Operating Mode
Value on reset: 0
Variants§
COUNT32 = 0
0: Mode 0: 32-bit Counter
COUNT16 = 1
1: Mode 1: 16-bit Counter
CLOCK = 2
2: Mode 2: Clock/Calendar
Trait Implementations§
source§impl Clone for MODESELECT_A
impl Clone for MODESELECT_A
source§fn clone(&self) -> MODESELECT_A
fn clone(&self) -> MODESELECT_A
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 MODESELECT_A
impl Debug for MODESELECT_A
source§impl From<MODESELECT_A> for u8
impl From<MODESELECT_A> for u8
source§fn from(variant: MODESELECT_A) -> Self
fn from(variant: MODESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for MODESELECT_A
impl PartialEq for MODESELECT_A
source§fn eq(&self, other: &MODESELECT_A) -> bool
fn eq(&self, other: &MODESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MODESELECT_A
impl Eq for MODESELECT_A
impl StructuralPartialEq for MODESELECT_A
Auto Trait Implementations§
impl Freeze for MODESELECT_A
impl RefUnwindSafe for MODESELECT_A
impl Send for MODESELECT_A
impl Sync for MODESELECT_A
impl Unpin for MODESELECT_A
impl UnwindSafe for MODESELECT_A
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