1#ifndef PFLIB_lpGBT_ConfigTransport_I2C_H_INCLUDED
2#define PFLIB_lpGBT_ConfigTransport_I2C_H_INCLUDED
6#include "pflib/lpGBT.h"
15 void write_raw(uint8_t a);
16 void write_raw(uint8_t a, uint8_t b);
17 void write_raw(uint8_t a, uint8_t b, uint8_t c);
23 virtual uint8_t
read_reg(uint16_t reg)
final;
24 virtual void write_reg(uint16_t reg, uint8_t value)
final;
Definition lpGBT_ConfigTransport_I2C.h:10
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.
Definition lpGBT_ConfigTransport_I2C.cxx:86
virtual uint8_t read_reg(uint16_t reg) final
Read the contents of the identified single register.
Definition lpGBT_ConfigTransport_I2C.cxx:65
virtual void write_reg(uint16_t reg, uint8_t value) final
Write the given value to the identified single register.
Definition lpGBT_ConfigTransport_I2C.cxx:76
virtual std::vector< uint8_t > read_regs(uint16_t reg, int n)
Read the contents of several registers beginning with the listed one.
Definition lpGBT_ConfigTransport_I2C.cxx:109
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3