μHAL
fofb_shaper_filt::Controller Class Reference
Inheritance diagram for fofb_shaper_filt::Controller:
Collaboration diagram for fofb_shaper_filt::Controller:

Public Member Functions

 Controller (struct pcie_bars &)
 
void write_params () override
 
- Public Member Functions inherited from RegisterController
void set_devinfo (const struct sdb_device_info &) override
 
virtual void write_params ()
 
- Public Member Functions inherited from RegisterDecoderBase
void check_devinfo_is_set () const
 
virtual void set_devinfo (const struct sdb_device_info &)
 

Public Attributes

filter_coefficients coefficients
 
- Public Attributes inherited from RegisterDecoderBase
const device_match_fn match_devinfo_lambda
 

Protected Member Functions

void set_devinfo_callback () override
 
void encode_params () override
 
- Protected Member Functions inherited from RegisterController
 RegisterController (struct pcie_bars &bars, const struct sdb_device_info &)
 
virtual void set_devinfo_callback ()
 
virtual void encode_params ()=0
 
virtual void unset_commands ()
 
- Protected Member Functions inherited from RegisterDecoderBase
void set_read_dest (auto &dest)
 
 RegisterDecoderBase (struct pcie_bars &, const struct sdb_device_info &)
 
virtual void read ()
 

Protected Attributes

std::unique_ptr< struct wb_fofb_shaper_filt_regs > regs_storage
 
struct wb_fofb_shaper_filt_regs & regs
 
unsigned fixed_point_coeff
 
unsigned num_biquads
 
- Protected Attributes inherited from RegisterDecoderBase
size_t read_size
 
void * read_dest
 
struct pcie_barsbars
 
struct sdb_device_info devinfo
 
size_t addr
 

Member Function Documentation

◆ encode_params()

void fofb_shaper_filt::Controller::encode_params ( )
overrideprotectedvirtual

Child classes must implement this function to encode their configuration parameters into hardware registers

Implements RegisterController.

◆ set_devinfo_callback()

void fofb_shaper_filt::Controller::set_devinfo_callback ( )
overrideprotectedvirtual

Child classes can implement this function to capture one-time values from hardware and perform any other necessary initialization

Reimplemented from RegisterController.

◆ write_params()

void fofb_shaper_filt::Controller::write_params ( )
overridevirtual

Child classes can implement this function when their write procedures require more than simply writing the regs structure

Reimplemented from RegisterController.


The documentation for this class was generated from the following files: