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

Data measurement rate

Low pass filter cutoff

Sleep will automatically disable '''xen''', '''yen''', '''zen'''

Enable z axis readings

Enable y axis readings

Enable x axis readings

Range of measurements. Lower range means more precision.

Set to false if you do not want to update the buffer unless it has been read

Trait Implementations

impl Debug for L3GD20GyroscopeSettings
[src]

[src]

Formats the value using the given formatter.

impl Copy for L3GD20GyroscopeSettings
[src]

impl Clone for L3GD20GyroscopeSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more