Enum Opamode
#[repr(u8)]pub enum Opamode {
Disable = 0,
Disable2 = 1,
Enable = 2,
Follower = 3,
}Variants§
Disable = 0
Internal PGA disable
Disable2 = 1
Internal PGA disable (duplicate)
Enable = 2
Internal PGA enable, gain programmed in PGA_GAIN
Follower = 3
Internal follower
Implementations§
Trait Implementations§
impl Copy for Opamode
impl Eq for Opamode
§impl Ord for Opamode
impl Ord for Opamode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Opamode
impl PartialOrd for Opamode
impl StructuralPartialEq for Opamode
Auto Trait Implementations§
impl Freeze for Opamode
impl RefUnwindSafe for Opamode
impl Send for Opamode
impl Sync for Opamode
impl Unpin for Opamode
impl UnsafeUnpin for Opamode
impl UnwindSafe for Opamode
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