#include <IMU_Base.hpp>
|
virtual | ~IMU_Base () |
|
| IMU_Base (std::uint8_t i2c_addr, std::uint32_t freq=400000, I2C_Class *i2c=&In_I2C) |
|
virtual imu_spec_t | begin (I2C_Class *i2c=nullptr)=0 |
|
virtual imu_spec_t | getImuRawData (imu_raw_data_t *data) const =0 |
|
virtual void | getConvertParam (imu_convert_param_t *param) const =0 |
|
virtual bool | getTempAdc (int16_t *adc) const |
|
virtual bool | setINTPinActiveLogic (bool level) |
|
| I2C_Device (std::uint8_t i2c_addr, std::uint32_t freq, I2C_Class *i2c=&In_I2C) |
|
void | setPort (I2C_Class *i2c) |
|
bool | writeRegister8 (std::uint8_t reg, std::uint8_t data) const |
|
std::uint8_t | readRegister8 (std::uint8_t reg) const |
|
bool | writeRegister8Array (const std::uint8_t *reg_data_array, std::size_t length) const |
|
bool | writeRegister (std::uint8_t reg, const std::uint8_t *data, std::size_t length) const |
|
bool | readRegister (std::uint8_t reg, std::uint8_t *result, std::size_t length) const |
|
bool | bitOn (std::uint8_t reg, std::uint8_t bit) const |
|
bool | bitOff (std::uint8_t reg, std::uint8_t bit) const |
|
bool | isEnabled (void) const |
|
Definition at line 11 of file IMU_Base.hpp.
◆ imu_spec_t
Enumerator |
---|
imu_spec_none | |
imu_spec_accel | |
imu_spec_gyro | |
imu_spec_mag | |
Definition at line 14 of file IMU_Base.hpp.
◆ ~IMU_Base()
m5::IMU_Base::~IMU_Base |
( |
| ) |
|
|
virtual |
◆ IMU_Base()
m5::IMU_Base::IMU_Base |
( |
std::uint8_t |
i2c_addr, |
|
|
std::uint32_t |
freq = 400000 , |
|
|
I2C_Class * |
i2c = &In_I2C |
|
) |
| |
◆ begin()
◆ getConvertParam()
◆ getImuRawData()
◆ getTempAdc()
virtual bool m5::IMU_Base::getTempAdc |
( |
int16_t * |
adc | ) |
const |
|
inlinevirtual |
◆ setINTPinActiveLogic()
virtual bool m5::IMU_Base::setINTPinActiveLogic |
( |
bool |
level | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files: