14 GPIO(
int gpo,
int gpi) : ngpo_{gpo},
ngpi_{gpi} { }
33 virtual bool getGPI(
int ibit);
43 virtual void setGPO(
int ibit,
bool toTrue=
true);
58 void setGPO_single(
int ibit,
bool t) {
return setGPO(ibit,t); }
68GPIO* make_GPIO_HcalHGCROCZCU();
Representation of GPIO controller.
Definition GPIO.h:12
virtual std::vector< bool > getGPO()=0
Read all GPO bits.
bool getGPI_single(int ibit)
convenience wrapper for python bindings
Definition GPIO.h:56
virtual std::string getBitName(int ibit, bool isgpo=true)
Get the name of a bit if possible.
Definition GPIO.h:28
int getGPOcount()
Get the number of GPO bits.
Definition GPIO.h:20
int ngpi_
Cached numbers of GPI and GPO bits.
Definition GPIO.h:65
virtual void setGPO(int ibit, bool toTrue=true)
Set a single GPO bit.
Definition GPIO.cxx:18
virtual void setGPO(const std::vector< bool > &bits)=0
Set all GPO bits.
int getGPIcount()
Get the number of GPI bits.
Definition GPIO.h:25
virtual std::vector< bool > getGPI()=0
Read all GPI bits.
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3