I2C Transport for Icm20948
#include <icm20948.h>
◆ Icm20948I2CTransport()
daisy::Icm20948I2CTransport::Icm20948I2CTransport |
( |
| ) |
|
|
inline |
◆ ~Icm20948I2CTransport()
daisy::Icm20948I2CTransport::~Icm20948I2CTransport |
( |
| ) |
|
|
inline |
◆ GetError()
bool daisy::Icm20948I2CTransport::GetError |
( |
| ) |
|
|
inline |
◆ Init()
void daisy::Icm20948I2CTransport::Init |
( |
Config |
config | ) |
|
|
inline |
◆ Read()
◆ Read8()
Reads an 8 bit value
- Parameters
-
reg | the register address to read from |
- Returns
- the 16 bit data value read from the device
◆ ReadReg()
Read from a reg address a defined number of bytes
◆ Write()
◆ Write16()
Writes a 16 bit value MSB first
- Parameters
-
reg | the register address to write to |
value | the value to write to the register |
◆ Write8()
Writes an 8 bit value
- Parameters
-
reg | the register address to write to |
value | the value to write to the register |
The documentation for this class was generated from the following file: