12 #include "IP_Driver.h" 19 void spi_write(
int address,
int data);
22 int spi_read(
int address);
30 AD9467_SPI(
int spi_base_address,
int size_in_k);
int set_data_format(int format)
sets the data format
Definition: AD9467_SPI.cpp:115
int set_test_mode(int test_mode)
sets the test mode
Definition: AD9467_SPI.cpp:101
Generic IP Driver Class Class, that allows access to a AXI Lite IP core over the Zynq Memory Mapped I...
Definition: IP_Driver.h:14
AD9467_SPI(int spi_base_address, int size_in_k)
class constructor
Definition: AD9467_SPI.cpp:60
int get_chip_grade()
reads the chip grade (0x20 for the AD9467-250)
Definition: AD9467_SPI.cpp:89
int get_test_mode()
reads the current test mode
Definition: AD9467_SPI.cpp:95
int get_chip_id()
reads the chip ID (0x50 for the AD9467)
Definition: AD9467_SPI.cpp:83
void reset_adc()
resets ADC chip (soft reset)
Definition: AD9467_SPI.cpp:74
~AD9467_SPI()
class deconstructor
Definition: AD9467_SPI.cpp:65
Driver for the SPI interface of the AD9467 using the spi_ad_0 core.
Definition: AD9467_SPI.h:15