Struct i2cdev_lsm9ds0::LSM9DS0GyroscopeSettings
[−]
[src]
pub struct LSM9DS0GyroscopeSettings { pub DR: LSM9DS0GyroscopeDataRate, pub BW: LSM9DS0GyroscopeBandwidth, pub power_mode: LSM9DS0PowerMode, pub zen: bool, pub yen: bool, pub xen: bool, pub sensitivity: LSM9DS0GyroscopeFS, pub continuous_update: bool, pub high_pass_filter_enabled: bool, pub high_pass_filter_mode: Option<LSM9DS0GyroscopeHighPassFilterMode>, pub high_pass_filter_configuration: Option<LSM9DS0HighPassFilterCutOffConfig>, }
Use the data sheet to read in depth about settings
Fields
DR: LSM9DS0GyroscopeDataRate
Data measurement rate
BW: LSM9DS0GyroscopeBandwidth
Low pass filter cutoff
power_mode: LSM9DS0PowerMode
Sleep will automatically disable '''xen''', '''yen''', '''zen'''
zen: bool
Enable z axis readings
yen: bool
Enable y axis readings
xen: bool
Enable x axis readings
sensitivity: LSM9DS0GyroscopeFS
Range of measurements. Lower range means more precision.
continuous_update: bool
Set to false if you do not want to update the buffer unless it has been read
high_pass_filter_enabled: bool
high_pass_filter_mode: Option<LSM9DS0GyroscopeHighPassFilterMode>
high_pass_filter_configuration: Option<LSM9DS0HighPassFilterCutOffConfig>
Trait Implementations
impl Debug for LSM9DS0GyroscopeSettings
[src]
impl Copy for LSM9DS0GyroscopeSettings
[src]
impl Clone for LSM9DS0GyroscopeSettings
[src]
fn clone(&self) -> LSM9DS0GyroscopeSettings
[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