Configuration for MPU6050 FIFO Enable register (register map §4.6).
More...
#include <fastarduino/devices/mpu6050.h>
|
constexpr | FIFOEnable (bool accel=false, bool gyro_x=false, bool gyro_y=false, bool gyro_z=false, bool temperature=false) |
| Create a new FIFOEnable configuration value. More...
|
|
bool | accel () const |
| If true , accelerometer measures on 3 axes will be loaded to FIFO buffer. More...
|
|
bool | gyro_x () const |
| If true , gyroscope measures on X axis will be loaded to FIFO buffer. More...
|
|
bool | gyro_y () const |
| If true , gyroscope measures on Y axis will be loaded to FIFO buffer. More...
|
|
bool | gyro_z () const |
| If true , gyroscope measures on Z axis will be loaded to FIFO buffer. More...
|
|
bool | temperature () const |
| If true , chip temperature will be loaded to FIFO buffer. More...
|
|
Configuration for MPU6050 FIFO Enable register (register map §4.6).
This allows setting which sensor measurements should be loaded in the chip FIFO buffer (see also datasheet §7.17).
- See also
- MPU6050::begin(FIFOEnable, INTEnable, uint8_t, GyroRange, AccelRange, DLPF, ClockSelect)
-
MPU6050::FifoBeginFuture
Definition at line 143 of file mpu6050.h.
◆ FIFOEnable()
constexpr devices::magneto::FIFOEnable::FIFOEnable |
( |
bool |
accel = false , |
|
|
bool |
gyro_x = false , |
|
|
bool |
gyro_y = false , |
|
|
bool |
gyro_z = false , |
|
|
bool |
temperature = false |
|
) |
| |
|
inlineconstexpr |
Create a new FIFOEnable configuration value.
- Parameters
-
accel | true if you want FIFO enabled for accelerometer sensor measures |
gyro_x | true if you want FIFO enabled for X-axis gyroscope sensor measures |
gyro_y | true if you want FIFO enabled for Y-axis gyroscope sensor measures |
gyro_z | true if you want FIFO enabled for Z-axis gyroscope sensor measures |
temperature | true if you want FIFO enabled for temperature sensor measures |
Definition at line 154 of file mpu6050.h.
◆ accel()
bool devices::magneto::FIFOEnable::accel |
( |
| ) |
const |
|
inline |
If true
, accelerometer measures on 3 axes will be loaded to FIFO buffer.
Definition at line 160 of file mpu6050.h.
◆ gyro_x()
bool devices::magneto::FIFOEnable::gyro_x |
( |
| ) |
const |
|
inline |
If true
, gyroscope measures on X axis will be loaded to FIFO buffer.
Definition at line 166 of file mpu6050.h.
◆ gyro_y()
bool devices::magneto::FIFOEnable::gyro_y |
( |
| ) |
const |
|
inline |
If true
, gyroscope measures on Y axis will be loaded to FIFO buffer.
Definition at line 172 of file mpu6050.h.
◆ gyro_z()
bool devices::magneto::FIFOEnable::gyro_z |
( |
| ) |
const |
|
inline |
If true
, gyroscope measures on Z axis will be loaded to FIFO buffer.
Definition at line 178 of file mpu6050.h.
◆ temperature()
bool devices::magneto::FIFOEnable::temperature |
( |
| ) |
const |
|
inline |
If true
, chip temperature will be loaded to FIFO buffer.
Definition at line 184 of file mpu6050.h.
The documentation for this class was generated from the following file: