#[repr(u8)]pub enum OVSS {
NoShift = 0,
Shift1 = 1,
Shift2 = 2,
Shift3 = 3,
Shift4 = 4,
Shift5 = 5,
Shift6 = 6,
Shift7 = 7,
Shift8 = 8,
}
Expand description
Oversampling shift This bit is set and cleared by software. Others: Reserved 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§
NoShift = 0
0: No shift
Shift1 = 1
1: Shift 1-bit
Shift2 = 2
2: Shift 2-bits
Shift3 = 3
3: Shift 3-bits
Shift4 = 4
4: Shift 4-bits
Shift5 = 5
5: Shift 5-bits
Shift6 = 6
6: Shift 6-bits
Shift7 = 7
7: Shift 7-bits
Shift8 = 8
8: Shift 8-bits
Trait Implementations§
impl Copy for OVSS
impl Eq for OVSS
impl IsEnum for OVSS
impl StructuralPartialEq for OVSS
Auto Trait Implementations§
impl Freeze for OVSS
impl RefUnwindSafe for OVSS
impl Send for OVSS
impl Sync for OVSS
impl Unpin for OVSS
impl UnwindSafe for OVSS
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