FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Create a future to be used by asynchronous method begin(FifoBeginFuture&). More...
#include <fastarduino/devices/mpu6050.h>
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.
fifo_enable | the FIFOEnable settings for continuous measurements |
int_enable | the 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_divider | the divider from the gyroscope output rate to generate the Sample Rate of the chip (register map §4.2) |
gyro_range | the GyroRange to use for the gyroscope measurements |
accel_range | the AccelRange to use for the accelerometer measurements |
low_pass_filter | the DLPF bandwidth to use for operations |
clock_select | the ClockSelect to use as the device clock source |