μHAL
ad9510::Controller Class Reference

#include <ad9510.h>

Collaboration diagram for ad9510::Controller:

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_infofac_devinfo
 

Detailed Description

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.


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