|
virtual std::vector< bool > | getGPI () |
| Read all GPI bits.
|
|
virtual std::string | getBitName (int ibit, bool isgpo) |
| Get the name of a bit if possible.
|
|
virtual void | setGPO (int ibit, bool toTrue=true) |
| Set a single GPO bit.
|
|
virtual void | setGPO (const std::vector< bool > &bits) |
| Set all GPO bits.
|
|
virtual std::vector< bool > | getGPO () |
| Read all GPO bits.
|
|
int | getGPOcount () |
| Get the number of GPO bits.
|
|
int | getGPIcount () |
| Get the number of GPI bits.
|
|
virtual bool | getGPI (int ibit) |
| Read a GPI bit.
|
|
bool | getGPI_single (int ibit) |
| convenience wrapper for python bindings
|
|
std::vector< bool > | getGPI_all () |
|
void | setGPO_single (int ibit, bool t) |
|
void | setGPO_all (const std::vector< bool > &b) |
|
◆ getBitName()
virtual std::string pflib::GPIO_HcalHGCROCZCU::getBitName |
( |
int | ibit, |
|
|
bool | isgpo ) |
|
inlinevirtual |
Get the name of a bit if possible.
Reimplemented from pflib::GPIO.
◆ getGPI()
std::vector< bool > pflib::GPIO_HcalHGCROCZCU::getGPI |
( |
| ) |
|
|
virtual |
◆ getGPO()
std::vector< bool > pflib::GPIO_HcalHGCROCZCU::getGPO |
( |
| ) |
|
|
virtual |
◆ setGPO() [1/2]
void pflib::GPIO_HcalHGCROCZCU::setGPO |
( |
const std::vector< bool > & | bits | ) |
|
|
virtual |
◆ setGPO() [2/2]
void pflib::GPIO_HcalHGCROCZCU::setGPO |
( |
int | ibit, |
|
|
bool | toTrue = true ) |
|
virtual |
◆ gpo_names
const char* pflib::GPIO_HcalHGCROCZCU::gpo_names[] |
|
staticconstexpr |
Initial value:={
"HGCROC_RSTB_I2C","HGCROC_SOFT_RSTB",
"HGCROC_HARD_RSTB","UNUSED1",
"HGCROC_ADDR0","HGCROC_ADDR1",
"SCL_PHASE","POWER_OFF"}
The documentation for this class was generated from the following file:
- src/pflib/GPIO_HcalHGCROCZCU.cxx