aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_dac_ctrl.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-11-06 14:21:39 -0800
committerAshish Chaudhari <ashish@ettus.com>2014-11-06 14:21:39 -0800
commit71565ecad53214c0179666d5715a5b81f4fea23f (patch)
tree2b49814d0d42b1f33167cb01d3bc4de4b4c20362 /host/lib/usrp/x300/x300_dac_ctrl.hpp
parent60455eb59e1aeb68bc54ab3620ef7995ada49be4 (diff)
downloaduhd-71565ecad53214c0179666d5715a5b81f4fea23f.tar.gz
uhd-71565ecad53214c0179666d5715a5b81f4fea23f.tar.bz2
uhd-71565ecad53214c0179666d5715a5b81f4fea23f.zip
x300: Cleaned up DAC ctrl and clock init logic
- DAC: Squashed configuration into 2 main operations: reset and reset_and_resync - DAC: Put in sleep mode during configuration - DAC: Synchronize only if streaming to more than one DAC - DAC: Use falling edge sync mode - DAC: Fixed power up/down settings - DAC: Frontend sync failure is fatal - Clocks: Refactored clock source change logic - Clocks: Cleaned up init and lock-check sequence
Diffstat (limited to 'host/lib/usrp/x300/x300_dac_ctrl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_dac_ctrl.hpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/host/lib/usrp/x300/x300_dac_ctrl.hpp b/host/lib/usrp/x300/x300_dac_ctrl.hpp
index 5fd7e13d8..c2e509b54 100644
--- a/host/lib/usrp/x300/x300_dac_ctrl.hpp
+++ b/host/lib/usrp/x300/x300_dac_ctrl.hpp
@@ -37,20 +37,14 @@ public:
*/
static sptr make(uhd::spi_iface::sptr iface, const size_t slaveno, const double clock_rate);
- // ! Arm the sync feature in DAC
- virtual void arm_dac_sync(void) = 0;
-
- // ! Check for successful backend sync
- virtual void check_dac_sync(void) = 0;
-
// ! Reset the DAC
virtual void reset(void) = 0;
- // ! Check for PLL lock
- virtual void check_pll(void) = 0;
+ // ! Reset the DAC and resync
+ virtual void reset_and_resync(void) = 0;
- // ! Check for successful frontend sync
- virtual void check_frontend_sync(void) = 0;
+ // ! Check for successful backend and frontend sync
+ virtual void verify_sync(void) = 0;
};
#endif /* INCLUDED_X300_DAC_CTRL_HPP */