Enum atsame70n21b::dacc::trigr::OSR0SELECT_A
source · #[repr(u8)]pub enum OSR0SELECT_A {
OSR_1 = 0,
OSR_2 = 1,
OSR_4 = 2,
OSR_8 = 3,
OSR_16 = 4,
OSR_32 = 5,
}
Expand description
Over Sampling Ratio of Channel 0
Value on reset: 0
Variants§
OSR_1 = 0
0: OSR = 1
OSR_2 = 1
1: OSR = 2
OSR_4 = 2
2: OSR = 4
OSR_8 = 3
3: OSR = 8
OSR_16 = 4
4: OSR = 16
OSR_32 = 5
5: OSR = 32
Trait Implementations§
source§impl Clone for OSR0SELECT_A
impl Clone for OSR0SELECT_A
source§fn clone(&self) -> OSR0SELECT_A
fn clone(&self) -> OSR0SELECT_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 OSR0SELECT_A
impl Debug for OSR0SELECT_A
source§impl From<OSR0SELECT_A> for u8
impl From<OSR0SELECT_A> for u8
source§fn from(variant: OSR0SELECT_A) -> Self
fn from(variant: OSR0SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for OSR0SELECT_A
impl PartialEq for OSR0SELECT_A
source§fn eq(&self, other: &OSR0SELECT_A) -> bool
fn eq(&self, other: &OSR0SELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OSR0SELECT_A
impl Eq for OSR0SELECT_A
impl StructuralEq for OSR0SELECT_A
impl StructuralPartialEq for OSR0SELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for OSR0SELECT_A
impl Send for OSR0SELECT_A
impl Sync for OSR0SELECT_A
impl Unpin for OSR0SELECT_A
impl UnwindSafe for OSR0SELECT_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