Struct i2cdev_lsm303dlhc::LSM303DLHCSettings
[−]
[src]
pub struct LSM303DLHCSettings { pub continuous_update: bool, pub low_power: bool, pub accelerometer_data_rate: LSM303DLHCAccelerometerUpdateRate, pub accelerometer_anti_alias_filter_bandwidth: LSM303DLHCAccelerometerFilterBandwidth, pub azen: bool, pub ayen: bool, pub axen: bool, pub accelerometer_sensitivity: LSM303DLHCAccelerometerFS, pub magnetometer_resolution: LSM303DLHCMagnetometerResolution, pub magnetometer_data_rate: LSM303DLHCMagnetometerUpdateRate, pub magnetometer_low_power_mode: bool, pub magnetometer_mode: LSM303DLHCMagnetometerMode, pub magnetometer_sensitivity: LSM303DLHCMagnetometerFS, }
Use the data sheet to read in depth about settings
Fields
continuous_update: bool
Continuously update output registers or wait until read
low_power: bool
Low power mode.
accelerometer_data_rate: LSM303DLHCAccelerometerUpdateRate
Frequency that accelerometer measurements are made
accelerometer_anti_alias_filter_bandwidth: LSM303DLHCAccelerometerFilterBandwidth
azen: bool
Enable accelerometer z axis
ayen: bool
Enable accelerometer y axis
axen: bool
Enable accelerometer x axis
accelerometer_sensitivity: LSM303DLHCAccelerometerFS
The maximum/minimum (+-) reading of acceleration (Full range)
magnetometer_resolution: LSM303DLHCMagnetometerResolution
magnetometer_data_rate: LSM303DLHCMagnetometerUpdateRate
Frequency that magnetometer measurements are made
magnetometer_low_power_mode: bool
magnetometer_mode: LSM303DLHCMagnetometerMode
magnetometer_sensitivity: LSM303DLHCMagnetometerFS
The maximum/minimum (+-) reading of magnetism (Full range)
Trait Implementations
impl Debug for LSM303DLHCSettings
[src]
impl Copy for LSM303DLHCSettings
[src]
impl Clone for LSM303DLHCSettings
[src]
fn clone(&self) -> LSM303DLHCSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more