This file includes all the types the logdecoder script will decode.
uint8_t fifoWatermark
Fifo watermark to use, in multiples of 4.
uint8_t fifoGyroscopeDownsampling
Fifo gyroscope downsampling (between 0 and 15).
bool fifoGyroscopeFiltered
Should the fifo use gyroscope filtered data?
BandwidthParameter accelerometerBandwidth
bool fifoAccelerometerFiltered
Should the fifo use accelerometer filtered data?
AccelerometerRange
Range of the accelerometer expressed in ±g.
@ G_16
Accelaration range ±16g.
@ G_8
Accelaration range ±8g.
@ G_2
Accelaration range ±2g.
@ G_4
Accelaration range ±4g.
AccelerometerRange accelerometerRange
uint8_t fifoAccelerationDownsampling
Fifo accelerometer downsampling (between 0 and 15).
BandwidthParameter
Bandwidth parameter.
@ OSR4
Oversampling rate of 4.
@ NORMAL
Normal filter operation.
@ OSR2
Oversampling rate of 2.
OutputDataRate magnetometerRate
int temperatureDivider
Divide the temperature sampling rate.
GyroscopeRange
Gyroscope range expressed in °/sec.
@ DEG_2000
Gyroscope range 2000°/sec.
@ DEG_500
Gyroscope range 500°/sec.
@ DEG_125
Gyroscope range 125°/sec.
@ DEG_250
Gyroscope range 250°/sec.
@ DEG_1000
Gyroscope range 1000°/sec.
IntMode
Interrupt pin mode.
@ PUSH_PULL
Push-pull behaviour.
@ OPEN_DRAIN
Open drain behaviour.
OutputDataRate accelerometerDataRate
BandwidthParameter gyroscopeBandwidth
bool enableCompensation
Enable magnetometer data compensation.
FifoInterruptPin
Fifo interrupt mode.
@ DISABLED
The interrupts are completely disabled.
@ PIN_INT2
Interrupts are enabled on pin 1.
@ PIN_INT1
Interrupts are enabled on pin 2.
GyroscopeMeasureUnit
Gyroscope measure unit (degrees or radiants).
GyroscopeRange gyroscopeRange
uint8_t magnetometerRepetitionsZ
Repetitions for the Z axis.
FifoInterruptPin fifoInterrupt
GyroscopeMeasureUnit gyroscopeUnit
OutputDataRate gyroscopeDataRate
uint8_t magnetometerRepetitionsXY
Repetitions for the XY axis.
OutputDataRate
Output Data Rate expressed in Hz.
@ HZ_1600
Output Data Rate of 1600Hz.
@ HZ_50
Output Data Rate of 50Hz.
@ HZ_6_25
Output Data Rate of 25/4Hz = 6.25.
@ HZ_1_5625
Output Data Rate of 25/16Hz = 1.5625.
@ HZ_3_125
Output Data Rate of 25/8Hz = 3.125.
@ HZ_100
Output Data Rate of 100Hz.
@ HZ_200
Output Data Rate of 200Hz.
@ HZ_12_5
Output Data Rate of 25/2Hz = 12.5.
@ HZ_3200
Output Data Rate of 3200Hz.
@ HZ_25
Output Data Rate of 25Hz.
@ HZ_0_78125
Output Data Rate of 25/32Hz = 0.78125.
@ HZ_400
Output Data Rate of 400Hz.
@ HZ_800
Output Data Rate of 800Hz.
FifoMode
Fifo operationg mode.
@ DISABLED
The fifo is completely disabled.
@ HEADER
Sensors can have different odr.
@ HEADERLESS
Sensors MUST have the same odr.