pflib v3.0.0-rc1-29-g3a901ac
Pretty Fine HGCROC Interaction Library
|
Public Member Functions | |
HcalFiberless (const std::vector< std::shared_ptr< I2C > > &roc_i2c) | |
virtual void | hardResetROCs () |
Get an I2C interface for the given HGCROC board's bias bus | |
virtual void | softResetROC (int which) |
Generate a soft reset to a specific HGCROC board, -1 for all. | |
virtual Elinks & | elinks () |
get the Elinks object | |
virtual DAQ & | daq () |
get the FastControl object | |
![]() | |
Hcal (const std::vector< std::shared_ptr< I2C > > &roc_i2c) | |
int | nrocs () |
number of boards | |
ROC | roc (int which, const std::string &roc_type_version="sipm_rocv3b") |
Get a ROC interface for the given HGCROC board. | |
uint32_t | getFirmwareVersion () |
Get the firmware version. | |
virtual GPIO & | gpio () |
Get the GPIO object for debugging purposes. | |
Static Public Attributes | |
static const int | GPO_HGCROC_RESET_HARD = 2 |
static const int | GPO_HGCROC_RESET_SOFT = 1 |
static const int | GPO_HGCROC_RESET_I2C = 0 |
Private Attributes | |
Elinks * | elinks_ |
DAQ * | daq_ |
Additional Inherited Members | |
![]() | |
int | nhgcroc_ |
Number of HGCROC boards in this system. | |
std::unique_ptr< GPIO > | gpio_ |
The GPIO interface. | |
std::vector< std::shared_ptr< I2C > > | roc_i2c_ |
The ROC I2C interfaces. | |
|
inlinevirtual |
|
inlinevirtual |
get the Elinks object
Implements pflib::Hcal.
|
inlinevirtual |
Get an I2C interface for the given HGCROC board's bias bus
Generate a hard reset to all the HGCROC boards
Reimplemented from pflib::Hcal.
|
inlinevirtual |
Generate a soft reset to a specific HGCROC board, -1 for all.
Reimplemented from pflib::Hcal.