diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-30 16:41:38 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-30 16:41:38 -0800 |
commit | 76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6 (patch) | |
tree | ae14b17a64cfea69456243e08383dd4a7794fc92 /host/lib/usrp/usrp2/usrp2_regs.cpp | |
parent | 78cc4fc203aab11cc3fb667410a2291d3782a9e5 (diff) | |
download | uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.gz uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.bz2 uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.zip |
usrp2: implemented get time last pps
renamed the enum for the pps time
added calls to single and multi wrappers
set time unknown pps now simpler
removed peek64 stuff from host + fw
please test
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_regs.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_regs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_regs.cpp b/host/lib/usrp/usrp2/usrp2_regs.cpp index dd0433816..a566dbce7 100644 --- a/host/lib/usrp/usrp2/usrp2_regs.cpp +++ b/host/lib/usrp/usrp2/usrp2_regs.cpp @@ -57,9 +57,11 @@ usrp2_regs_t usrp2_get_regs(bool use_n2xx_map) { x.time64_flags = sr_addr(misc_output_base, x.sr_time64 + 2); x.time64_imm = sr_addr(misc_output_base, x.sr_time64 + 3); x.time64_tps = sr_addr(misc_output_base, x.sr_time64 + 4); - x.time64_secs_rb = bp_base + 4*10; - x.time64_ticks_rb = bp_base + 4*11; + x.time64_secs_rb_imm = bp_base + 4*10; + x.time64_ticks_rb_imm = bp_base + 4*11; x.compat_num_rb = bp_base + 4*12; + x.time64_secs_rb_pps = bp_base + 4*14; + x.time64_ticks_rb_pps = bp_base + 4*15; x.dsp_tx_freq = sr_addr(misc_output_base, x.sr_tx_dsp + 0); x.dsp_tx_scale_iq = sr_addr(misc_output_base, x.sr_tx_dsp + 1); x.dsp_tx_interp_rate = sr_addr(misc_output_base, x.sr_tx_dsp + 2); |