FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::magneto::MPU6050< MANAGER >::FifoBeginFuture Class Reference

Create a future to be used by asynchronous method begin(FifoBeginFuture&). More...

#include <fastarduino/devices/mpu6050.h>

Inheritance diagram for devices::magneto::MPU6050< MANAGER >::FifoBeginFuture:
Collaboration diagram for devices::magneto::MPU6050< MANAGER >::FifoBeginFuture:

Detailed Description

template<typename MANAGER>
class devices::magneto::MPU6050< MANAGER >::FifoBeginFuture

Create a future to be used by asynchronous method begin(FifoBeginFuture&).

This is used by begin() to pass input settings, and it shall be used by the caller to determine when the I2C transaction is finished, hence when you may use other methods such as gyro_measures() to get sensors measurements from the device.

Parameters
fifo_enablethe FIFOEnable settings for continuous measurements
int_enablethe INTEnable settings for interrupt generation; note that the device driver does not handle interrupts (ISR) itself, you need to use other FastArduino API for that.
sample_rate_dividerthe divider from the gyroscope output rate to generate the Sample Rate of the chip (register map §4.2)
gyro_rangethe GyroRange to use for the gyroscope measurements
accel_rangethe AccelRange to use for the accelerometer measurements
low_pass_filterthe DLPF bandwidth to use for operations
clock_selectthe ClockSelect to use as the device clock source
See also
begin(FifoBeginFuture&)

Definition at line 416 of file mpu6050.h.


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