|
μHAL
|


Public Member Functions | |
| Controller (struct pcie_bars &) | |
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 | |
| bool | reset = false |
| std::string | mode = "direct" |
| bool | swap_div_f_cnt_en = false |
| uint16_t | swap_div_f = 0 |
| uint16_t | deswap_delay = 0 |
Public Attributes inherited from RegisterDecoderBase | |
| const device_match_fn | match_devinfo_lambda |
Static Public Attributes | |
| static const std::vector< std::string > | mode_list |
Private Member Functions | |
| void | encode_params () override |
| void | write_params () override |
Private Attributes | |
| std::unique_ptr< struct bpm_swap_regs > | regs_storage |
| struct bpm_swap_regs & | regs |
Additional Inherited Members | |
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 inherited from RegisterDecoderBase | |
| size_t | read_size |
| void * | read_dest |
| struct pcie_bars & | bars |
| struct sdb_device_info | devinfo |
| size_t | addr |
|
overrideprivatevirtual |
Child classes must implement this function to encode their configuration parameters into hardware registers
Implements RegisterController.
|
overrideprivatevirtual |
Child classes can implement this function when their write procedures require more than simply writing the regs structure
Reimplemented from RegisterController.
|
static |