57 bool readWhoAmI(uint8_t& who);
59 void calibrateAccel(
float *dest1);
60 void calibrateGyro(
float *dest2);
89 float& gx,
float& gy,
float& gz,
float& t);
118 bool readByte(uint8_t reg, uint8_t& value);
119 bool readBytes(uint8_t reg, uint8_t* buffer,
size_t len);
120 bool writeByte(uint8_t reg, uint8_t value);
bool startAccel(uint16_t odr_hz, uint16_t fsr_g)
Start the accelerometer.
bool begin()
Initialize the IMU.
bool startGyro(uint16_t odr_hz, uint16_t fsr_dps)
Start the gyroscope.
bool enableAccelGyroLnMode(void)
Enable low-noise mode for both accelerometer and gyroscope.
bool readSensorData(float &ax, float &ay, float &az, float &gx, float &gy, float &gz, float &t)
Enable low-noise mode for both accelerometer and gyroscope.
bool reset()
Perform a soft reset of the IMU.
bool startWithDefaultValues(void)
Start IMU with SDK default settings and enable LN mode.
ICM42670()
Construct a new ICM42670 object Default constructor uses the default Wire I2C bus....