3 * Copyright 2003 Free Software Foundation, Inc.
5 * This file is part of GNU Radio
7 * GNU Radio is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * GNU Radio is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Radio; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
23 #ifndef _USRP_CONFIG_H_
24 #define _USRP_CONFIG_H_
27 * ----------------------------------------------------------------
28 * USRP Rx configurations.
30 * For now this is a placeholder, but will eventually specify the
31 * mapping from A/D outputs to DDC inputs (I & Q).
33 * What's implemented today is a single DDC that has its I input
34 * connected to ADC0 and its Q input connected to ADC1
35 * ----------------------------------------------------------------
38 #define USRP_RX_CONFIG_DEFAULT 0
41 * given a usrp_rx_config word, return the number of I & Q streams that
42 * are interleaved on the USB.
45 int usrp_rx_config_stream_count (unsigned int usrp_rx_config);
48 * USRP Tx configurations.
50 * For now this is a placeholder, but will eventually specify the
51 * mapping from DUC outputs to D/A inputs.
53 * What's implemented today is a single DUC that has its I output
54 * connected to DAC0 and its Q output connected to DAC1
57 #define USRP_TX_CONFIG_DEFAULT 0
60 * given a usrp_tx_config word, return the number of I & Q streams that
61 * are interleaved on the USB.
64 int usrp_tx_config_stream_count (unsigned int usrp_tx_config);
67 #endif /* _USRP_CONFIG_H_ */