#[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
Value on reset: 0
Variants§
NoShift = 0
0: No right shift applied to oversampling result
Shift1 = 1
1: Shift oversampling result right by 1 bit
Shift2 = 2
2: Shift oversampling result right by 2 bits
Shift3 = 3
3: Shift oversampling result right by 3 bits
Shift4 = 4
4: Shift oversampling result right by 4 bits
Shift5 = 5
5: Shift oversampling result right by 5 bits
Shift6 = 6
6: Shift oversampling result right by 6 bits
Shift7 = 7
7: Shift oversampling result right by 7 bits
Shift8 = 8
8: Shift oversampling result right by 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