|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Public Member Functions | |
| lpGBT_ConfigTransport_I2C (uint8_t i2c_addr, const std::string &bus_dev) | |
| void | write_raw (uint8_t a) |
| void | write_raw (uint8_t a, uint8_t b) |
| void | write_raw (uint8_t a, uint8_t b, uint8_t c) |
| void | write_raw (const std::vector< uint8_t > &a) |
| uint8_t | read_raw () |
| std::vector< uint8_t > | read_raw (int n) |
| virtual uint8_t | read_reg (uint16_t reg) final |
| Read the contents of the identified single register. | |
| virtual void | write_reg (uint16_t reg, uint8_t value) final |
| Write the given value to the identified single register. | |
| virtual std::vector< uint8_t > | read_regs (uint16_t reg, int n) |
| Read the contents of several registers beginning with the listed one. | |
| virtual void | write_regs (uint16_t reg, const std::vector< uint8_t > &value) |
| Write the given values to a sequence of registers beginning with the listed one. | |
Public Member Functions inherited from pflib::lpGBT_ConfigTransport | |
Private Attributes | |
| int | handle_ |
|
finalvirtual |
Read the contents of the identified single register.
Implements pflib::lpGBT_ConfigTransport.
|
virtual |
Read the contents of several registers beginning with the listed one.
The default implementation uses read_reg repeatedly, but faster implementations are possible for I2C and IC/EC communication.
Reimplemented from pflib::lpGBT_ConfigTransport.
|
finalvirtual |
Write the given value to the identified single register.
Implements pflib::lpGBT_ConfigTransport.
|
virtual |
Write the given values to a sequence of registers beginning with the listed one.
The default implementation uses write_reg repeatedly, but faster implementations are possible for I2C and IC/EC communication.
Reimplemented from pflib::lpGBT_ConfigTransport.