1#ifndef PFLIB_lpGBT_ICEC_H_INCLUDED
2#define PFLIB_lpGBT_ICEC_H_INCLUDED
4#include "pflib/lpGBT.h"
5#include "pflib/zcu/UIO.h"
18 uint8_t lpgbt_i2c_addr);
23 virtual uint8_t
read_reg(uint16_t reg);
24 virtual void write_reg(uint16_t reg, uint8_t value);
Definition lpGBT_ICEC_ZCU_Simple.h:15
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_ICEC_ZCU_Simple.cxx:45
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_ICEC_ZCU_Simple.cxx:97
virtual void write_reg(uint16_t reg, uint8_t value)
Write the given value to the identified single register.
Definition lpGBT_ICEC_ZCU_Simple.cxx:91
uint8_t lpgbt_i2c_addr_
i2c address of the device
Definition lpGBT_ICEC_ZCU_Simple.h:31
UIO transport_
UIO block.
Definition lpGBT_ICEC_ZCU_Simple.h:33
int offset_
Offset depending on EC/IC.
Definition lpGBT_ICEC_ZCU_Simple.h:28
virtual uint8_t read_reg(uint16_t reg)
Read the contents of the identified single register.
Definition lpGBT_ICEC_ZCU_Simple.cxx:40
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3