#[repr(u8)]pub enum FeatureAddr {
Show 15 variants
AxisRemap = 3,
AnyMotion = 5,
NoMotion = 8,
Flat = 11,
SigMotion = 13,
StepCnt = 16,
Orient = 28,
Tap = 30,
Tilt = 33,
AltAutoConfig = 35,
StResult = 36,
StSelect = 37,
GyroScSelect = 38,
GyroScStConf = 39,
GyroScStCoefficients = 40,
}
Expand description
Feature memory base addresses (used with FEATURE_DATA_ADDR/TX).
Variants§
AxisRemap = 3
AnyMotion = 5
NoMotion = 8
Flat = 11
SigMotion = 13
StepCnt = 16
Orient = 28
Tap = 30
Tilt = 33
AltAutoConfig = 35
StResult = 36
StSelect = 37
GyroScSelect = 38
GyroScStConf = 39
GyroScStCoefficients = 40
Trait Implementations§
Source§impl From<FeatureAddr> for u8
impl From<FeatureAddr> for u8
Source§fn from(a: FeatureAddr) -> Self
fn from(a: FeatureAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeatureAddr
impl RefUnwindSafe for FeatureAddr
impl Send for FeatureAddr
impl Sync for FeatureAddr
impl Unpin for FeatureAddr
impl UnwindSafe for FeatureAddr
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