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