stipcores library
Collection of Software Drivers for Hardware IP Cores for the Panoradio SDR
AD9467.h
1 #ifndef AD9467_H
2 #define AD9467_H
3 
4 /*
5  -------------------------------------------------------
6  AD9467.h
7  Main C++ driver class for AD9467 ADC
8  Stefan Scholl, DC9ST, TU Kaiserslautern, 2014
9  -------------------------------------------------------
10 */
11 
12 
13 #include "AD9467_SPI.h"
14 #include "AD9467_Data_Interface.h"
15 
17 class AD9467 {
18 
19 private:
20 
22  void calibrate_delay_lines();
23 
24 
25  AD9467_SPI *spi_iface_; // driver of spi interface
26  AD9467_Data_Interface *data_iface_; // driver for data interface
27 
28 public:
34  AD9467(int base_address_spi, int size_in_k_spi, int base_address_data, int size_in_k_data);
35 
36 
38  ~AD9467();
39 
40 
43  int init();
44 
45 };
46 
47 #endif /* AD9467_H */
~AD9467()
class deconstructor
Definition: AD9467.cpp:189
int init()
init function, that calibrates the interface for the AD9467
Definition: AD9467.cpp:199
Main Driver for the AD9467.
Definition: AD9467.h:17
Driver for the data interface of the AD9467.
Definition: AD9467_Data_Interface.h:16
AD9467(int base_address_spi, int size_in_k_spi, int base_address_data, int size_in_k_data)
class constructor
Definition: AD9467.cpp:181
Driver for the SPI interface of the AD9467 using the spi_ad_0 core.
Definition: AD9467_SPI.h:15