diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-07 01:02:20 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-07 01:02:20 +0000 |
commit | 272b08ce9a66b3ba1b9dc91922afff410145231f (patch) | |
tree | f89480f2ea7afffaede95d8455eafbb035df0113 /host/lib/usrp/usrp_e/codec_ctrl.hpp | |
parent | 06bcfc6b872d8efcb94b312b963f18678a862b93 (diff) | |
download | uhd-272b08ce9a66b3ba1b9dc91922afff410145231f.tar.gz uhd-272b08ce9a66b3ba1b9dc91922afff410145231f.tar.bz2 uhd-272b08ce9a66b3ba1b9dc91922afff410145231f.zip |
work on codec control, writing aux dacs, read aux adc
Diffstat (limited to 'host/lib/usrp/usrp_e/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp_e/codec_ctrl.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp_e/codec_ctrl.hpp b/host/lib/usrp/usrp_e/codec_ctrl.hpp index 0fe70c4a2..efdcd7142 100644 --- a/host/lib/usrp/usrp_e/codec_ctrl.hpp +++ b/host/lib/usrp/usrp_e/codec_ctrl.hpp @@ -47,7 +47,9 @@ public: }; /*! - * Read the aux adc. + * Read an auxiliary adc: + * The internals remember which aux adc was read last. + * Therefore, the aux adc switch is only changed as needed. * \param which which of the 4 adcs * \return a value in volts */ @@ -58,15 +60,15 @@ public: AUX_DAC_A = 0xA, AUX_DAC_B = 0xB, AUX_DAC_C = 0xC, - AUX_DAC_D = 0xD + AUX_DAC_D = 0xD //really the sigma delta output }; /*! - * Write the aux dac. + * Write an auxiliary dac. * \param which which of the 4 dacs * \param volts the level in in volts */ - virtual void read_aux_adc(aux_dac_t which, float volts) = 0; + virtual void write_aux_dac(aux_dac_t which, float volts) = 0; }; |