2 * Copyright 2008 Free Software Foundation, Inc.
4 * This file is part of GNU Radio
6 * GNU Radio is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3, or (at your option)
11 * GNU Radio is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with GNU Radio; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street,
19 * Boston, MA 02110-1301, USA.
22 #include <db_flexrf_mimo.h>
23 #include <fpga_regs_standard.h>
24 #include <fpga_regs_common.h>
25 #include <usrp_prims.h>
26 #include <usrp_spi_defs.h>
29 db_flexrf_2400_tx_mimo_a::db_flexrf_2400_tx_mimo_a(usrp_basic_sptr usrp, int which)
30 : db_flexrf_2400_tx(usrp, which)
37 db_flexrf_2400_tx_mimo_a::_refclk_divisor()
42 db_flexrf_2400_rx_mimo_a::db_flexrf_2400_rx_mimo_a(usrp_basic_sptr usrp, int which)
43 : db_flexrf_2400_rx(usrp, which)
50 db_flexrf_2400_rx_mimo_a::_refclk_divisor()
55 db_flexrf_2400_tx_mimo_b::db_flexrf_2400_tx_mimo_b(usrp_basic_sptr usrp, int which)
56 : db_flexrf_2400_tx(usrp, which)
62 db_flexrf_2400_tx_mimo_b::_refclk_divisor()
67 db_flexrf_2400_rx_mimo_b::db_flexrf_2400_rx_mimo_b(usrp_basic_sptr usrp, int which)
68 : db_flexrf_2400_rx(usrp, which)
74 db_flexrf_2400_rx_mimo_b::_refclk_divisor()
79 db_flexrf_1800_tx_mimo_a::db_flexrf_1800_tx_mimo_a(usrp_basic_sptr usrp, int which)
80 : db_flexrf_1800_tx(usrp, which)
87 db_flexrf_1800_tx_mimo_a::_refclk_divisor()
92 db_flexrf_1800_rx_mimo_a::db_flexrf_1800_rx_mimo_a(usrp_basic_sptr usrp, int which)
93 : db_flexrf_1800_rx(usrp, which)
100 db_flexrf_1800_rx_mimo_a::_refclk_divisor()
105 db_flexrf_1800_tx_mimo_b::db_flexrf_1800_tx_mimo_b(usrp_basic_sptr usrp, int which)
106 : db_flexrf_1800_tx(usrp, which)
112 db_flexrf_1800_tx_mimo_b::_refclk_divisor()
117 db_flexrf_1800_rx_mimo_b::db_flexrf_1800_rx_mimo_b(usrp_basic_sptr usrp, int which)
118 : db_flexrf_1800_rx(usrp, which)
124 db_flexrf_1800_rx_mimo_b::_refclk_divisor()
129 db_flexrf_1200_tx_mimo_a::db_flexrf_1200_tx_mimo_a(usrp_basic_sptr usrp, int which)
130 : db_flexrf_1200_tx(usrp, which)
132 _enable_refclk(true);
137 db_flexrf_1200_tx_mimo_a::_refclk_divisor()
142 db_flexrf_1200_rx_mimo_a::db_flexrf_1200_rx_mimo_a(usrp_basic_sptr usrp, int which)
143 : db_flexrf_1200_rx(usrp, which)
145 _enable_refclk(true);
150 db_flexrf_1200_rx_mimo_a::_refclk_divisor()
155 db_flexrf_1200_tx_mimo_b::db_flexrf_1200_tx_mimo_b(usrp_basic_sptr usrp, int which)
156 : db_flexrf_1200_tx(usrp, which)
162 db_flexrf_1200_tx_mimo_b::_refclk_divisor()
167 db_flexrf_1200_rx_mimo_b::db_flexrf_1200_rx_mimo_b(usrp_basic_sptr usrp, int which)
168 : db_flexrf_1200_rx(usrp, which)
174 db_flexrf_1200_rx_mimo_b::_refclk_divisor()
179 db_flexrf_900_tx_mimo_a::db_flexrf_900_tx_mimo_a(usrp_basic_sptr usrp, int which)
180 : db_flexrf_900_tx(usrp, which)
182 _enable_refclk(true);
187 db_flexrf_900_tx_mimo_a::_refclk_divisor()
192 db_flexrf_900_rx_mimo_a::db_flexrf_900_rx_mimo_a(usrp_basic_sptr usrp, int which)
193 : db_flexrf_900_rx(usrp, which)
195 _enable_refclk(true);
200 db_flexrf_900_rx_mimo_a::_refclk_divisor()
205 db_flexrf_900_tx_mimo_b::db_flexrf_900_tx_mimo_b(usrp_basic_sptr usrp, int which)
206 : db_flexrf_900_tx(usrp, which)
212 db_flexrf_900_tx_mimo_b::_refclk_divisor()
217 db_flexrf_900_rx_mimo_b::db_flexrf_900_rx_mimo_b(usrp_basic_sptr usrp, int which)
218 : db_flexrf_900_rx(usrp, which)
223 int db_flexrf_900_rx_mimo_b::_refclk_divisor()
228 db_flexrf_400_tx_mimo_a::db_flexrf_400_tx_mimo_a(usrp_basic_sptr usrp, int which)
229 : db_flexrf_400_tx(usrp, which)
231 _enable_refclk(true);
236 db_flexrf_400_tx_mimo_a::_refclk_divisor()
241 db_flexrf_400_rx_mimo_a::db_flexrf_400_rx_mimo_a(usrp_basic_sptr usrp, int which)
242 : db_flexrf_400_rx(usrp, which)
244 _enable_refclk(true);
249 db_flexrf_400_rx_mimo_a::_refclk_divisor()
254 db_flexrf_400_tx_mimo_b::db_flexrf_400_tx_mimo_b(usrp_basic_sptr usrp, int which)
255 : db_flexrf_400_tx(usrp, which)
261 db_flexrf_400_tx_mimo_b::_refclk_divisor()
266 db_flexrf_400_rx_mimo_b::db_flexrf_400_rx_mimo_b(usrp_basic_sptr usrp, int which)
267 : db_flexrf_400_rx(usrp, which)
273 db_flexrf_400_rx_mimo_b::_refclk_divisor()