μHAL
|
#include <ad9510.h>
Public Member Functions | |
Controller (struct pcie_bars &) | |
bool | match_devinfo (const struct sdb_device_info &) |
void | set_devinfo (const struct sdb_device_info &) |
bool | get_reg (uint8_t, uint8_t &, spi::Channel={0}) |
bool | set_reg (uint8_t, uint8_t, spi::Channel={0}) |
bool | set_a_div (uint8_t) |
bool | set_b_div (uint16_t) |
bool | set_r_div (uint16_t) |
bool | set_defaults (spi::Channel={0}) |
Private Member Functions | |
bool | set_reg_ll (uint8_t, uint8_t) |
bool | update_parameters () |
Private Attributes | |
spi::Controller | spi_regs |
fmc_active_clk::Core | fac_regs |
std::optional< struct sdb_device_info > | fac_devinfo |
This class doesn't inherit from RegisterController because it doesn't correspond directly to a register map. It uses an spi::Controller to communicate over SPI with an AD9510 IC.