stipcores library
Collection of Software Drivers for Hardware IP Cores for the Panoradio SDR
|
Driver for the data interface of the AD9467. More...
#include <AD9467_Data_Interface.h>
Public Member Functions | |
AD9467_Data_Interface (int base_address, int size_in_k) | |
class constructor More... | |
~AD9467_Data_Interface () | |
class deconstructor | |
int | set_delay (int line_addr, int delay_value) |
sets delay value for one delay element More... | |
void | capture_test_data () |
captures data from the ADC to the test data memory More... | |
int | read_test_data (int addr) |
reads one sample of data from the test data memory More... | |
int | init_delay_controller () |
inits the delay controller (necessary for the delay controller) More... | |
void | check_availability_on_fpga () |
check core availability on FPGA (i.e. shows if hardware design is loaded) | |
Driver for the data interface of the AD9467.
AD9467_Data_Interface::AD9467_Data_Interface | ( | int | base_address, |
int | size_in_k | ||
) |
class constructor
base_adress | address of the spi core (from Vivado), e.g. 0x44C00000 |
size_in_k | size of the required adress space in k (from Vivado) |
void AD9467_Data_Interface::capture_test_data | ( | ) |
captures data from the ADC to the test data memory
int AD9467_Data_Interface::init_delay_controller | ( | ) |
inits the delay controller (necessary for the delay controller)
int AD9467_Data_Interface::read_test_data | ( | int | addr | ) |
reads one sample of data from the test data memory
address | of test data memory data word to be read |
int AD9467_Data_Interface::set_delay | ( | int | line_addr, |
int | delay_value | ||
) |
sets delay value for one delay element
address | of I/O line (0 to 7) |
delay | value to be written to delay module (0 to 31); |