| 
    μHAL
    
   | 
 
#include <decoders.h>


Public Member Functions | |
| void | check_devinfo_is_set () const | 
| virtual void | set_devinfo (const struct sdb_device_info &) | 
Public Attributes | |
| const device_match_fn | match_devinfo_lambda | 
Protected Member Functions | |
| void | set_read_dest (auto &dest) | 
| RegisterDecoderBase (struct pcie_bars &, const struct sdb_device_info &) | |
| virtual void | read () | 
Protected Attributes | |
| size_t | read_size | 
| void * | read_dest | 
| struct pcie_bars & | bars | 
| struct sdb_device_info | devinfo | 
| size_t | addr | 
Private Member Functions | |
| bool | match_devinfo (const struct sdb_device_info &) const | 
Private Attributes | |
| bool | devinfo_is_set = false | 
| uint64_t | vendor_id | 
| uint32_t | device_id | 
| uint8_t | major_version | 
| bool | check_devinfo = false | 
This class defines base methods that will be used by both decoders and controllers.
      
  | 
  protected | 
Initializer that sets the device information supported by the implementation
      
  | 
  protectedvirtual | 
Read values from BAR4 into #read_dest
Reimplemented in fofb_cc::Core, and pos_calc::Core.
      
  | 
  private | 
Is set to true when we use the RegisterDecoderBase(struct pcie_bars &, const struct sdb_device_info &) initializer
      
  | 
  private | 
Is set to true when set_devinfo() is called, used to protect us from using uninitialized device information