DUDS
Distributed Update of Data from Something
duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings Struct Reference

The various settings for the device packed into an integer to avoid passing a lot of parameters. More...

#include <LSM9DS1.hpp>

Public Attributes

unsigned int accelerometer: 1
 Flag to use the accelerometer. More...
 
AccelRange accelRange: 2
 The maximum magnetude setting for the accelerometer. More...
 
unsigned int gyroHighPass: 1
 
unsigned int gyroLowPower: 1
 Enable the low-power mode of the gyroscope. More...
 
GyroRange gyroRange: 2
 The maximum magnetude setting for the gyroscope. More...
 
unsigned int gyroscope: 1
 Flag to use the gyroscope. More...
 

Detailed Description

The various settings for the device packed into an integer to avoid passing a lot of parameters.

Definition at line 110 of file LSM9DS1.hpp.

Member Data Documentation

◆ accelerometer

unsigned int duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::accelerometer

Flag to use the accelerometer.

At least the accelerometer or magnetometer must be selected for use.

Definition at line 115 of file LSM9DS1.hpp.

Referenced by duds::hardware::devices::instruments::LSM9DS1AccelGyro::configure(), and duds::hardware::devices::instruments::LSM9DS1AccelGyro::sample().

◆ accelRange

AccelRange duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::accelRange

◆ gyroHighPass

unsigned int duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::gyroHighPass

◆ gyroLowPower

unsigned int duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::gyroLowPower

Enable the low-power mode of the gyroscope.

Not sure how this affects operation or how much of a difference it makes.

Definition at line 133 of file LSM9DS1.hpp.

Referenced by duds::hardware::devices::instruments::LSM9DS1AccelGyro::configure().

◆ gyroRange

GyroRange duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::gyroRange

◆ gyroscope

unsigned int duds::hardware::devices::instruments::LSM9DS1AccelGyro::Settings::gyroscope

Flag to use the gyroscope.

Enabling the gyroscope requires enabling the accelerometer.

Definition at line 120 of file LSM9DS1.hpp.

Referenced by duds::hardware::devices::instruments::LSM9DS1AccelGyro::configure(), and duds::hardware::devices::instruments::LSM9DS1AccelGyro::sample().


The documentation for this struct was generated from the following file: