#include <dps310.h>
◆ Dps310I2CTransport()
daisy::Dps310I2CTransport::Dps310I2CTransport |
( |
| ) |
|
|
inline |
◆ ~Dps310I2CTransport()
daisy::Dps310I2CTransport::~Dps310I2CTransport |
( |
| ) |
|
|
inline |
◆ GetError()
bool daisy::Dps310I2CTransport::GetError |
( |
| ) |
|
|
inline |
◆ Init()
void daisy::Dps310I2CTransport::Init |
( |
Config |
config | ) |
|
|
inline |
◆ Read()
◆ Read16()
Reads a 16 bit value
- Parameters
-
reg | the register address to read from |
- Returns
- the 16 bit data value read from the device
◆ Read24()
Reads a 24 bit value
- Parameters
-
reg | the register address to read from |
- Returns
- the 24 bit data value read from the device
◆ 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()
◆ 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: