summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-16 19:17:29 -0800
committerJosh Blum <josh@joshknows.com>2010-02-16 19:17:29 -0800
commitd8d783ce1b1034495dba86dab104a4f52e2fe09a (patch)
tree5001981fbbbf12f343c2dbb7ac30da487de9fd81 /include
parent6d891fdfbb735f6ee31e0d4f9d786c1a6397965b (diff)
downloaduhd-d8d783ce1b1034495dba86dab104a4f52e2fe09a.tar.gz
uhd-d8d783ce1b1034495dba86dab104a4f52e2fe09a.tar.bz2
uhd-d8d783ce1b1034495dba86dab104a4f52e2fe09a.zip
Added control code in the txrx.c and dboard interface for usrp2 to handle gpio and atr
Diffstat (limited to 'include')
-rw-r--r--include/uhd/usrp/dboard/interface.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uhd/usrp/dboard/interface.hpp b/include/uhd/usrp/dboard/interface.hpp
index c18247564..68669b99d 100644
--- a/include/uhd/usrp/dboard/interface.hpp
+++ b/include/uhd/usrp/dboard/interface.hpp
@@ -82,9 +82,9 @@ public:
* The mask controls which pins are controlled by ATR.
*
* \param bank GPIO_TX_BANK or GPIO_RX_BANK
- * \param tx_value 16-bits, 0=FPGA input, 1=FPGA output
- * \param rx_value 16-bits, 0=FPGA input, 1=FPGA output
- * \param mask 16-bits, 0=ignore, 1=atr
+ * \param tx_value 16-bits, 0=FPGA output low, 1=FPGA output high
+ * \param rx_value 16-bits, 0=FPGA output low, 1=FPGA output high
+ * \param mask 16-bits, 0=software, 1=atr
*/
virtual void set_atr_reg(gpio_bank_t bank, uint16_t tx_value, uint16_t rx_value, uint16_t mask) = 0;