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

Continuously update output registers or wait until read

Frequency that accelerometer measurements are made

Enable accelerometer z axis

Enable accelerometer y axis

Enable accelerometer x axis

The maximum/minimum (+-) reading of acceleration (Full range)

Frequency that magnetometer measurements are made

The maximum/minimum (+-) reading of magnetism (Full range)

Trait Implementations

impl Debug for LSM303DSettings
[src]

[src]

Formats the value using the given formatter.

impl Copy for LSM303DSettings
[src]

impl Clone for LSM303DSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more