|
|
using | CipixMap = std::unordered_map<std::string, uint8_t> |
| |
|
using | FwMap = std::map<std::string, FwInfo> |
| |
|
|
| 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.
|
| |
◆ cipixRegRead()
| RMMResult CdtCipix::cipixRegRead |
( |
int | cipixIdx, |
|
|
std::string | reg ) |
Reads a value from a cipix register.
- Parameters
-
| [in] | cipixIdx | Index of the cipix board to read from. |
| [in] | reg | The name of the cipix register to read. |
- Returns
- RMMResult A structure containing the bottom 8 bits of the data read from the register and action status.
◆ cipixRegWrite()
| RMMResult CdtCipix::cipixRegWrite |
( |
int | cipixIdx, |
|
|
std::string | reg, |
|
|
uint8_t | wdata ) |
Writes a value to a cipix register and returns the read value.
This function performs a write operation on a cipix register. After the write operation, it immediately reads the value from the register and returns it.
- Parameters
-
| [in] | cipixIdx | Index of the cipix board to write to. |
| [in] | reg | The name of the cipix register to write to. |
| [in] | wdata | The data to be written to the register. |
- Returns
- RMMResult.
- See also
- RMMResult
The documentation for this class was generated from the following files: