|
RMM API 2.0.0
|
Interface for interacting with the frontends, providing methods for reading and writing user registers and fields. More...
#include <FrontEndInterface.h>

Public Member Functions | |
| virtual RMMResult | userRegRead (const std::string &name)=0 |
| Reads data from a FEN register. | |
| virtual RMMResult | userRegRead (uint32_t addr)=0 |
| Reads data from a FEN register. | |
| virtual RMMResult | userRegWrite (const std::string &name, uint32_t data)=0 |
| Writes data to a FEN register. | |
| virtual RMMResult | userRegWrite (uint32_t addr, uint32_t data)=0 |
| Writes data to a FEN register. | |
| virtual RMMResult | userFieldRead (const std::string ®, int bit_begin, int bit_width)=0 |
| Reads a specific field from a FEN register. | |
| virtual RMMResult | userFieldRead (uint32_t addr, int bit_begin, int bit_width)=0 |
| Reads a specific field from a FEN register. | |
| virtual RMMResult | userFieldWrite (const std::string ®, int bit_begin, int bit_width, uint32_t data)=0 |
| Writes data to a specific field of a FEN register. | |
| virtual RMMResult | userFieldWrite (uint32_t addr, int bit_begin, int bit_width, uint32_t data)=0 |
| Writes data to a specific field of a FEN register. | |
| virtual void | configFE ()=0 |
| Configures the frontend. | |
Interface for interacting with the frontends, providing methods for reading and writing user registers and fields.
This interface defines methods for reading and writing registers and fields in a frontend system. Derived classes must implement these methods to interface with the frontends.
|
pure virtual |
Configures the frontend.
Derived classes should implement this method to configure the frontend. The configuration may involve setting up registers, initializing hardware, or other actions needed to properly configure the frontend for use.
|
pure virtual |
Reads a specific field from a FEN register.
Derived classes should implement this method to read a specific field (range of bits) from a register.
| [in] | reg | The name of the register to read from. |
| [in] | bit_begin | The index of the lowest bit in the register that is part of the field. |
| [in] | bit_width | The width of the field in bits. |
Implemented in FrontEndBase.
|
pure virtual |
Reads a specific field from a FEN register.
Derived classes should implement this method to read a specific field (range of bits) from a register.
| [in] | addr | The addr of the register to read from. |
| [in] | bit_begin | The index of the lowest bit in the register that is part of the field. |
| [in] | bit_width | The width of the field in bits. |
Implemented in FrontEndBase.
|
pure virtual |
Writes data to a specific field of a FEN register.
Derived classes should implement this method to write data to a specific field (range of bits) in a register.
| [in] | reg | The name of the register to write to. |
| [in] | bit_begin | The index of the lowest bit in the register that is part of the field. |
| [in] | bit_width | The width of the field in bits. |
| [in] | data | The data to write to the field. |
Implemented in FrontEndBase.
|
pure virtual |
Writes data to a specific field of a FEN register.
Derived classes should implement this method to write data to a specific field (range of bits) in a register.
| [in] | addr | The addr of the register to write to. |
| [in] | bit_begin | The index of the lowest bit in the register that is part of the field. |
| [in] | bit_width | The width of the field in bits. |
| [in] | data | The data to write to the field. |
Implemented in FrontEndBase.
|
pure virtual |
Reads data from a FEN register.
Derived classes should implement this method to read data from the specified register in the frontend node.
| [in] | name | The name of the FEN register to read data from. |
Implemented in FrontEndBase.
|
pure virtual |
Reads data from a FEN register.
Derived classes should implement this method to read data from the specified register in the frontend node.
| [in] | addr | The addr of the FEN register to read data from. |
Implemented in FrontEndBase.
|
pure virtual |
Writes data to a FEN register.
Derived classes should implement this method to write data to the specified register in the frontend node.
| [in] | name | The name of the FEN register to write data to. |
| [in] | data | The data to write to the register. |
Implemented in FrontEndBase.
|
pure virtual |
Writes data to a FEN register.
Derived classes should implement this method to write data to the specified register in the frontend node.
| [in] | addr | The addr of the FEN register to write data to. |
| [in] | data | The data to write to the register. |
Implemented in FrontEndBase.