Enum atsam4n8c_pac::adc::emr::OSR_A
source · #[repr(u8)]
pub enum OSR_A {
NO_AVERAGE,
OSR4,
OSR16,
}
Expand description
Over Sampling Rate
Value on reset: 0
Variants§
NO_AVERAGE
0: no averaging. ADC sample rate is maximum.
OSR4
1: 1-bit enhanced resolution by interpolation. ADC sample rate divided by 4.
OSR16
2: 2-bit enhanced resolution by interpolation. ADC sample rate divided by 16.
Trait Implementations§
source§impl PartialEq<OSR_A> for OSR_A
impl PartialEq<OSR_A> for OSR_A
impl Copy for OSR_A
impl Eq for OSR_A
impl StructuralEq for OSR_A
impl StructuralPartialEq for OSR_A
Auto Trait Implementations§
impl RefUnwindSafe for OSR_A
impl Send for OSR_A
impl Sync for OSR_A
impl Unpin for OSR_A
impl UnwindSafe for OSR_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