Struct i2cdev_lsm303d::LSM303DSettings
[−]
[src]
pub struct LSM303DSettings { pub continuous_update: bool, pub accelerometer_data_rate: LSM303DAccelerometerUpdateRate, pub accelerometer_anti_alias_filter_bandwidth: LSM303DAccelerometerFilterBandwidth, pub azen: bool, pub ayen: bool, pub axen: bool, pub accelerometer_sensitivity: LSM303DAccelerometerFS, pub magnetometer_resolution: LSM303DMagnetometerResolution, pub magnetometer_data_rate: LSM303DMagnetometerUpdateRate, pub magnetometer_low_power_mode: bool, pub magnetometer_mode: LSM303DMagnetometerMode, pub magnetometer_sensitivity: LSM303DMagnetometerFS, }
Use the data sheet to read in depth about settings
Fields
continuous_update: bool
Continuously update output registers or wait until read
accelerometer_data_rate: LSM303DAccelerometerUpdateRate
Frequency that accelerometer measurements are made
accelerometer_anti_alias_filter_bandwidth: LSM303DAccelerometerFilterBandwidth
azen: bool
Enable accelerometer z axis
ayen: bool
Enable accelerometer y axis
axen: bool
Enable accelerometer x axis
accelerometer_sensitivity: LSM303DAccelerometerFS
The maximum/minimum (+-) reading of acceleration (Full range)
magnetometer_resolution: LSM303DMagnetometerResolution
magnetometer_data_rate: LSM303DMagnetometerUpdateRate
Frequency that magnetometer measurements are made
magnetometer_low_power_mode: bool
magnetometer_mode: LSM303DMagnetometerMode
magnetometer_sensitivity: LSM303DMagnetometerFS
The maximum/minimum (+-) reading of magnetism (Full range)
Trait Implementations
impl Debug for LSM303DSettings
[src]
impl Copy for LSM303DSettings
[src]
impl Clone for LSM303DSettings
[src]
fn clone(&self) -> LSM303DSettings
[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