RMM API 2.0.0
Loading...
Searching...
No Matches
RMMInformations.h
1#pragma once
2
3#include "RMMRegisterAccess.h"
4
10 std::string rmmControl;
11 std::string rmmEng;
12 std::string rmmTime;
13 std::string rmmRing;
14};
15
22class RMMInfos {
23 public:
25 rmmStatus getFirmwareInfo(std::unordered_map<std::string, std::string>* info);
26 rmmStatus getRegBankVersion(RegBankVersion* banks);
28
29 private:
30 RMMRegisterAccess& RMMRegs;
31 std::string parseRegBankVersion(RegisterTag tag, const std::string& reg = "REGBANK_VERSION");
32};
rmmStatus getFirmwareInfo(std::unordered_map< std::string, std::string > *info)
Gets the firmware information, including FPGA DNA, git hash, and build time.
Definition RMMInformations.cpp:21
RMMInfos(RMMRegisterAccess &RMMRegs)
Constructor to RMMInfos.
Definition RMMInformations.cpp:8
rmmStatus getRegBankVersion(RegBankVersion *banks)
Gets the register bank version details for the different register banks.
Definition RMMInformations.cpp:68
RMMLog rmmLog
Log handler for RMMInfos messages.
Definition RMMInformations.h:27
Class for managing and writing log messages to different log levels and files.
Definition RMMLog.h:47
Class to handle register access over the ESS Readout Master Module.
Definition RMMRegisterAccess.h:57
Struct to store register bank version information.
Definition RMMInformations.h:9
std::string rmmEng
Version of the RMM engineering register bank.
Definition RMMInformations.h:11
std::string rmmControl
Version of the RMM control register bank.
Definition RMMInformations.h:10
std::string rmmRing
Version of the RMM ring register bank.
Definition RMMInformations.h:13
std::string rmmTime
Version of the RMM time register bank.
Definition RMMInformations.h:12