Struct i2cdev_lsm303dlhc::LSM303DLHCSettings [] [src]

pub struct LSM303DLHCSettings {
    pub continuous_update: bool,
    pub low_power: bool,
    pub accelerometer_data_rate: LSM303DLHCAccelerometerUpdateRate,
    pub accelerometer_anti_alias_filter_bandwidth: LSM303DLHCAccelerometerFilterBandwidth,
    pub azen: bool,
    pub ayen: bool,
    pub axen: bool,
    pub accelerometer_sensitivity: LSM303DLHCAccelerometerFS,
    pub magnetometer_resolution: LSM303DLHCMagnetometerResolution,
    pub magnetometer_data_rate: LSM303DLHCMagnetometerUpdateRate,
    pub magnetometer_low_power_mode: bool,
    pub magnetometer_mode: LSM303DLHCMagnetometerMode,
    pub magnetometer_sensitivity: LSM303DLHCMagnetometerFS,
}

Use the data sheet to read in depth about settings

Fields

Continuously update output registers or wait until read

Low power mode.

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 LSM303DLHCSettings
[src]

[src]

Formats the value using the given formatter.

impl Copy for LSM303DLHCSettings
[src]

impl Clone for LSM303DLHCSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more