diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-05 12:18:17 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-05 12:18:17 -0700 |
commit | 12aa8ad74cf3a343159ddbb452455bf4e7f435b8 (patch) | |
tree | 69b6928826b73d9a8adcfa62d8301ce28b95c11a /host/lib/usrp/usrp2/dboard_impl.cpp | |
parent | 83bd55d63972804e62f3890a4a90c8288fcbad0c (diff) | |
download | uhd-12aa8ad74cf3a343159ddbb452455bf4e7f435b8.tar.gz uhd-12aa8ad74cf3a343159ddbb452455bf4e7f435b8.tar.bz2 uhd-12aa8ad74cf3a343159ddbb452455bf4e7f435b8.zip |
added 16 bit peek and poke, 16 bit register defs for gpios and atrs
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dboard_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp index 30883cd50..39e4baa7b 100644 --- a/host/lib/usrp/usrp2/dboard_impl.cpp +++ b/host/lib/usrp/usrp2/dboard_impl.cpp @@ -81,7 +81,7 @@ void usrp2_impl::update_rx_mux_config(void){ rx_mux = (((rx_mux >> 0) & 0x3) << 2) | (((rx_mux >> 2) & 0x3) << 0); } - this->poke(FR_DSP_RX_MUX, rx_mux); + this->poke32(FR_DSP_RX_MUX, rx_mux); } void usrp2_impl::update_tx_mux_config(void){ @@ -94,7 +94,7 @@ void usrp2_impl::update_tx_mux_config(void){ tx_mux = (((tx_mux >> 0) & 0x1) << 1) | (((tx_mux >> 1) & 0x1) << 0); } - this->poke(FR_DSP_TX_MUX, tx_mux); + this->poke32(FR_DSP_TX_MUX, tx_mux); } /*********************************************************************** |