diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-11-06 14:21:39 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-11-13 01:16:18 +0100 |
commit | 265db795c26cf9609f8f1288484f85788cbf7b3d (patch) | |
tree | 682c9a4b6ebb204a5ac896f392a01836b86c8815 /host/lib/usrp/x300/x300_dac_ctrl.hpp | |
parent | bda6bcb2301281304981380cb804babcc681641a (diff) | |
download | uhd-265db795c26cf9609f8f1288484f85788cbf7b3d.tar.gz uhd-265db795c26cf9609f8f1288484f85788cbf7b3d.tar.bz2 uhd-265db795c26cf9609f8f1288484f85788cbf7b3d.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.hpp | 14 |
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 */ |