Struct i2cdev_l3gd20::L3GD20GyroscopeSettings
[−]
[src]
pub struct L3GD20GyroscopeSettings { pub DR: L3GD20GyroscopeDataRate, pub BW: L3GD20GyroscopeBandwidth, pub power_mode: L3GD20PowerMode, pub zen: bool, pub yen: bool, pub xen: bool, pub sensitivity: L3GD20GyroscopeFS, pub continuous_update: bool, pub high_pass_filter_enabled: bool, pub high_pass_filter_mode: Option<L3GD20GyroscopeHighPassFilterMode>, pub high_pass_filter_configuration: Option<L3GD20HighPassFilterCutOffConfig>, }
Use the data sheet to read in depth about settings
Fields
DR: L3GD20GyroscopeDataRate
Data measurement rate
BW: L3GD20GyroscopeBandwidth
Low pass filter cutoff
power_mode: L3GD20PowerMode
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: L3GD20GyroscopeFS
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<L3GD20GyroscopeHighPassFilterMode>
high_pass_filter_configuration: Option<L3GD20HighPassFilterCutOffConfig>
Trait Implementations
impl Debug for L3GD20GyroscopeSettings
[src]
impl Copy for L3GD20GyroscopeSettings
[src]
impl Clone for L3GD20GyroscopeSettings
[src]
fn clone(&self) -> L3GD20GyroscopeSettings
[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