Class MPU

Inheritance Relationships

Base Type

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
Scaled scale(bool update = false)