|
| | CdtDream (RMMAPI *rmmApi, int ring, int node, std::string name) |
| | Constructor for the CdtDream class.
|
| |
|
void | configFE () |
| |
|
void | resetCore () |
| |
| uint64_t | readUid (rmmStatus *status=NULL, uint32_t timeout=100) |
| | Tries to read UID for some time. If it fails, return rmmError in status.
|
| |
| rmmStatus | writeSim (bool enable, uint32_t pause_cycles=0) |
| | Starts or stops simulated data.
|
| |
| rmmStatus | readSimParams (SimInfo &simInfo) |
| | Reads registers telling the simulation params.
|
| |
|
| CdtCipix (std::string name) |
| |
|
uint8_t | getMaxCipix () const |
| |
|
void | fetchFwInfo () |
| |
| RMMResult | cipixRegRead (int cipixIdx, std::string reg) |
| | Reads a value from a cipix register.
|
| |
| RMMResult | cipixRegWrite (int cipixIdx, std::string, uint8_t wdata) |
| | Writes a value to a cipix register and returns the read value.
|
| |
| | CdtBaseBMAPI (RMMAPI *rmmApi, int ring, int node, std::string name, FENRegMap additional_reg_map) |
| | Constructor for the CdtBm class.
|
| |
| void | configAcquireTime (uint64_t cycles) |
| | Sets the acquisition time. Executed inside configFE right before starting the acquisition.
|
| |
| void | measurementEnable (bool enable) |
| | Enables or disables the measurement process.
|
| |
| bool | isMeasRunning () |
| | Checks if the measurement is currently running.
|
| |
|
|
using | CipixMap = std::unordered_map<std::string, uint8_t> |
| |
|
using | FwMap = std::map<std::string, FwInfo> |
| |
|
uint8_t | maxCipix |
| |
◆ CdtDream()
| CdtDream::CdtDream |
( |
RMMAPI * | rmmApi, |
|
|
int | ring, |
|
|
int | node, |
|
|
std::string | name ) |
Constructor for the CdtDream class.
Initializes a new instance of the CdtDream class by calling the base classes FrontEndBase and CdtCipix constructors.
- Parameters
-
| [in] | rmmApi | Pointer to the RMMAPI instance used for communication and management of the RMM. |
| [in] | ring | The ring number. |
| [in] | node | The node number. |
| [in] | name | The name to identify the front-end instance. |
◆ readSimParams()
| rmmStatus CdtDream::readSimParams |
( |
SimInfo & | simInfo | ) |
|
Reads registers telling the simulation params.
- Parameters
-
| simInfo | Struct to be filled with current simulation parameters. |
- Returns
- rmmStatus. If non-zero, then reading failed.
◆ readUid()
| uint64_t CdtDream::readUid |
( |
rmmStatus * | status = NULL, |
|
|
uint32_t | timeout = 100 ) |
Tries to read UID for some time. If it fails, return rmmError in status.
- Parameters
-
| [in] | timeout | timeout in milliseconds to keep trying if status_uid_error returns something different than 0. |
- Returns
- RMMResult.
- See also
- RMMResult
◆ writeSim()
| rmmStatus CdtDream::writeSim |
( |
bool | enable, |
|
|
uint32_t | pause_cycles = 0 ) |
Starts or stops simulated data.
- Parameters
-
| [in] | enable | true to activate simulated data. False to stop. |
| [in] | pause_cycles | Number of pauses cycles. |
- Returns
- rmmStatus An enum indicating the status of the operation.
- See also
- rmmStatus
The documentation for this class was generated from the following files: