#include <i2c_device.h>
◆ I2C_Device()
I2C_Device::I2C_Device |
( |
int | deviceAddress, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ ~I2C_Device()
I2C_Device::~I2C_Device |
( |
| ) |
|
◆ errorOccurred
void I2C_Device::errorOccurred |
( |
const QString & | message | ) |
|
|
signal |
◆ initialize()
bool I2C_Device::initialize |
( |
| ) |
|
◆ readByte()
bool I2C_Device::readByte |
( |
quint8 | reg, |
|
|
quint8 & | value ) |
◆ readBytes()
QByteArray I2C_Device::readBytes |
( |
quint8 | registerAddress, |
|
|
quint8 | count ) |
◆ writeByte()
bool I2C_Device::writeByte |
( |
quint8 | reg, |
|
|
quint8 | value ) |
◆ writeBytes()
bool I2C_Device::writeBytes |
( |
quint8 | registerAddress, |
|
|
const QByteArray & | data ) |
The documentation for this class was generated from the following files:
- /home/tony/Github/SkyPulseUAV/SkyPulseUAV_FCS/DRIVER/i2c_device.h
- /home/tony/Github/SkyPulseUAV/SkyPulseUAV_FCS/DRIVER/i2c_device.cpp