Class MPU¶
Defined in File BlackBox_MPU.hpp
Nested Relationships¶
Inheritance Relationships¶
Base Type¶
public I2C::Device(Class Device)
Class Documentation¶
-
class
BlackBox::MPU: public I2C::Device¶ Public Functions
-
void
writeRegister(MPU6050Regs::registerAddresses address, std::uint8_t value)¶
-
MPU(std::uint16_t address = 0x69, i2c_port_t = 0)¶
-
~MPU() = default¶
-
virtual void
init() override¶
-
void
configure()¶
-
void
reset()¶
-
void
wake()¶
-
void
sleep()¶
-
void
syncCache()¶
-
void
syncMeasurements()¶
-
void
syncAccelerometer()¶
-
void
syncGyroscope()¶
-
MPU6050Regs::MPU6050_dev_t
registers()¶
-
const MPU6050Regs::MPU6050_dev_t &
regs() const¶
-
void
writeRegisters(const MPU6050Regs::MPU6050_dev_t&)¶
-
const RawMeasurements &
raw() const¶
-
void