Enum kiibohd_hall_effect::SensorMode
source · pub enum SensorMode {
Test(&'static Entry),
LowLatency(&'static Entry),
Normal(&'static Entry),
}
Expand description
Indicates mode of the sensor Used to specify a different lookup table and data processing behaviour
Variants§
Test(&'static Entry)
Run ADC in reduced precision mode to collect additional calibration data Generally uses an alternate lookup table
LowLatency(&'static Entry)
Low latency mode (usually the same as NormalMode)
Normal(&'static Entry)
Normal mode for ADC
Implementations§
Trait Implementations§
source§impl Clone for SensorMode
impl Clone for SensorMode
source§fn clone(&self) -> SensorMode
fn clone(&self) -> SensorMode
Returns a copy 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 SensorMode
impl Debug for SensorMode
source§impl PartialEq<SensorMode> for SensorMode
impl PartialEq<SensorMode> for SensorMode
source§fn eq(&self, other: &SensorMode) -> bool
fn eq(&self, other: &SensorMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SensorMode
impl Eq for SensorMode
impl StructuralEq for SensorMode
impl StructuralPartialEq for SensorMode
Auto Trait Implementations§
impl RefUnwindSafe for SensorMode
impl Send for SensorMode
impl Sync for SensorMode
impl Unpin for SensorMode
impl UnwindSafe for SensorMode
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