pub enum ConfigurationMode {
Automatic,
Manual,
}Expand description
Configuration mode
Variants§
Automatic
Automatic mode (default).
On-chip algorithm selects the integration time (100ms - 800ms) and the current division ratio
Manual
Manual mode.
The user can select the integration time and the current division ratio manually.
Trait Implementations§
Source§impl Clone for ConfigurationMode
impl Clone for ConfigurationMode
Source§fn clone(&self) -> ConfigurationMode
fn clone(&self) -> ConfigurationMode
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 ConfigurationMode
impl Debug for ConfigurationMode
Source§impl PartialEq for ConfigurationMode
impl PartialEq for ConfigurationMode
impl Copy for ConfigurationMode
impl StructuralPartialEq for ConfigurationMode
Auto Trait Implementations§
impl Freeze for ConfigurationMode
impl RefUnwindSafe for ConfigurationMode
impl Send for ConfigurationMode
impl Sync for ConfigurationMode
impl Unpin for ConfigurationMode
impl UnwindSafe for ConfigurationMode
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