stipcores library
Collection of Software Drivers for Hardware IP Cores for the Panoradio SDR
AD9467_Data_Interface.h
1 #ifndef AD9467_DATA_INTERFACE_H
2 #define AD9467_DATA_INTERFACE_H
3 
4 /*
5  -------------------------------------------------------
6  AD9467_Data_Interface.h
7  C++ driver class for ADC data interface (IO modules)
8  Stefan Scholl, DC9ST, TU Kaiserslautern, 2014
9  -------------------------------------------------------
10 */
11 
12 #include "IP_Driver.h"
13 
14 
17 
18 private:
19 
21  void wait_ms(int t_ms);
22 
23  IP_Driver *data_iface_core_; // low level driver
24 
25 public:
29  AD9467_Data_Interface(int base_address, int size_in_k);
30 
33 
34 
39  int set_delay(int line_addr, int delay_value);
40 
41 
44  void capture_test_data();
45 
46 
50  int read_test_data(int addr);
51 
52 
56 
59 };
60 
61 #endif /* AD9467_DATA_INTERFACE_H */
void check_availability_on_fpga()
check core availability on FPGA (i.e. shows if hardware design is loaded)
Definition: AD9467_Data_Interface.cpp:134
AD9467_Data_Interface(int base_address, int size_in_k)
class constructor
Definition: AD9467_Data_Interface.cpp:32
void capture_test_data()
captures data from the ADC to the test data memory
Definition: AD9467_Data_Interface.cpp:78
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
int init_delay_controller()
inits the delay controller (necessary for the delay controller)
Definition: AD9467_Data_Interface.cpp:110
Driver for the data interface of the AD9467.
Definition: AD9467_Data_Interface.h:16
~AD9467_Data_Interface()
class deconstructor
Definition: AD9467_Data_Interface.cpp:37
int set_delay(int line_addr, int delay_value)
sets delay value for one delay element
Definition: AD9467_Data_Interface.cpp:45
int read_test_data(int addr)
reads one sample of data from the test data memory
Definition: AD9467_Data_Interface.cpp:87