I2C#
I2C bus communication devices.
Instrument and Abstract Driver#
I2C interface supporting register-based and command-based devices. |
|
Vendor I2C-adapter driver contract. |
Vendor Drivers#
Vendor |
Model |
Description |
|---|---|---|
Total Phase |
Total Phase Aardvark I2C/SPI host adapter. |
Types & Configuration#
Top-level container of all I2C device definitions, passed to |
|
Register-based I2C device (e.g. a GPIO expander). |
|
Command-based I2C device (e.g. an ADC). |
|
I2C register: address, data format, power-on default, byte order, and named bit fields. |
|
A named command enum whose members are OR'd together when sent. |
|
A contiguous bit field within a register (e.g. |
|
How to extract logical data from an I2C transfer and convert to physical units. |
|
Convert between raw register integers and physical units (forward and inverse). |
|
Linear scaling: |
|
User-defined scaling. |
Errors raised by these methods are documented in Exceptions.