|
M5Unit-IMU 0.0.2 git rev:e5b00aa
|
One measurement. Accel/gyro are always 12 bytes, little-endian (register 0x0C when the AUX/BMM150 bridge is not in use, or bytes [8..19] of the 20 byte burst from register 0x04 when it is; see UnitBMI270::read_measurement()) More...
#include <unit_bmi270_data.hpp>
Public Attributes | |
| std::array< uint8_t, 12 > | raw {} |
| [0..5] accel XYZ, [6..11] gyro XYZ | |
| bmm150::Data | mag {} |
| AUX (on-chip BMM150) magnetometer sample, valid only when aux_mag is true. Reuses bmm150::Data's bit-packing and trim compensation (comp_x()/comp_y()/comp_z()) so the AUX path and the standalone UnitBMM150 path share identical math. | |
| bool | aux_mag {false} |
| True if mag holds a sample from the AUX (BMM150) bridge. | |
One measurement. Accel/gyro are always 12 bytes, little-endian (register 0x0C when the AUX/BMM150 bridge is not in use, or bytes [8..19] of the 20 byte burst from register 0x04 when it is; see UnitBMI270::read_measurement())