#[repr(u8)]pub enum OVSR {
Mul2 = 0,
Mul4 = 1,
Mul8 = 2,
Mul16 = 3,
Mul32 = 4,
Mul64 = 5,
Mul128 = 6,
Mul256 = 7,
}
Expand description
Oversampling ratio This bit filed defines the number of oversampling ratio. Note: The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
Value on reset: 0
Variants§
Mul2 = 0
0: 2x
Mul4 = 1
1: 4x
Mul8 = 2
2: 8x
Mul16 = 3
3: 16x
Mul32 = 4
4: 32x
Mul64 = 5
5: 64x
Mul128 = 6
6: 128x
Mul256 = 7
7: 256x
Trait Implementations§
impl Copy for OVSR
impl Eq for OVSR
impl IsEnum for OVSR
impl StructuralPartialEq for OVSR
Auto Trait Implementations§
impl Freeze for OVSR
impl RefUnwindSafe for OVSR
impl Send for OVSR
impl Sync for OVSR
impl Unpin for OVSR
impl UnwindSafe for OVSR
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