Orion
high-rate readout
|
Chip interface for ABCstar. More...
#include <chip_abc.hpp>
Classes | |
struct | Factory |
Public Member Functions | |
virtual void | update_trim ()=0 |
virtual void | update_mask ()=0 |
virtual void | update_calen ()=0 |
![]() | |
virtual const Register * | find_reg (uint16_t addr) const=0 |
Register methods. More... | |
virtual const Register * | find_reg (const std::string &name) const=0 |
virtual reg_t | get_reg (uint16_t addr) const=0 |
Get register value from the memory by register name, address or reference. More... | |
virtual reg_t | get_reg (const Register ®) const=0 |
virtual reg_t | get_reg (const std::string &name) const=0 |
virtual void | set_reg (uint16_t addr, reg_t value)=0 |
Set register value in memory by register name, address or reference. Does not send any commands to chip. More... | |
virtual void | set_reg (const Register ®, reg_t value)=0 |
virtual void | set_reg (const std::string &name, reg_t value)=0 |
virtual void | read_reg (uint16_t addr)=0 |
Write command sequence to Commander buffer to read register value from the chip, does not send commands over e-link. More... | |
virtual void | read_reg (const Register ®)=0 |
virtual void | read_reg (const std::string &name)=0 |
virtual void | write_reg (uint16_t addr, reg_t value)=0 |
Set register value in memory and appends commands sequence to modify register value in chip to Commander buffer, does not send commands over e-link. More... | |
virtual void | write_reg (const Register ®, reg_t value)=0 |
virtual void | write_reg (const std::string &name, reg_t value)=0 |
virtual const Field * | find_fld (const std::string &name) const=0 |
Field methods. More... | |
virtual fld_t | get_fld (const Field &fld) const=0 |
Get field value from the memory by field name or reference. More... | |
virtual fld_t | get_fld (const std::string &name) const=0 |
virtual void | set_fld (const Field &fld, fld_t value)=0 |
Set field value in memory by field name or reference. Does not send any commands to chip. More... | |
virtual void | set_fld (const std::string &name, fld_t value)=0 |
virtual void | read_fld (const Field &fld)=0 |
Write command sequence to Commander buffer to read register value from the chip, does not send commands over e-link. More... | |
virtual void | read_fld (const std::string &name)=0 |
virtual void | write_fld (const Field &fld, fld_t value)=0 |
Set field value in memory and appends commands sequence to modify field value in chip to Commander buffer, does not send commands over e-link. More... | |
virtual void | write_fld (const std::string &name, fld_t value)=0 |
virtual void | configure ()=0 |
Configures chip, actually sends command over e-link via Commander. | |
virtual void | send ()=0 |
Sends data accumulated in command buffer over the e-link. | |
Additional Inherited Members | |
![]() | |
using | Field = Field |
using | RegMem = IField::RegMem |
using | Register = IField::Register |
using | Commander = IField::Commander |
using | reg_t = IField::reg_t |
using | fld_t = IField::fld_t |
Chip interface for ABCstar.