#[repr(u8)]pub enum OperatingMode {
Continuous = 0,
SingleConv = 1,
Standby = 2,
PowerDown = 3,
Idle = 4,
InternalZeroScale = 5,
InternalFullScale = 6,
SystemZeroScale = 7,
SystemFullScale = 8,
}Expand description
Operating modes for AD7124
Variants§
Continuous = 0
Continuous conversion mode
SingleConv = 1
Single conversion mode
Standby = 2
Standby mode
PowerDown = 3
Power-down mode
Idle = 4
Idle mode
InternalZeroScale = 5
Internal zero-scale calibration
InternalFullScale = 6
Internal full-scale calibration
SystemZeroScale = 7
System zero-scale calibration
SystemFullScale = 8
System full-scale calibration
Trait Implementations§
Source§impl Clone for OperatingMode
impl Clone for OperatingMode
Source§fn clone(&self) -> OperatingMode
fn clone(&self) -> OperatingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperatingMode
impl Debug for OperatingMode
Source§impl PartialEq for OperatingMode
impl PartialEq for OperatingMode
impl Copy for OperatingMode
impl Eq for OperatingMode
impl StructuralPartialEq for OperatingMode
Auto Trait Implementations§
impl Freeze for OperatingMode
impl RefUnwindSafe for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Unpin for OperatingMode
impl UnwindSafe for OperatingMode
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