Commit graph

31 commits

Author SHA1 Message Date
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
  stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
  compilers support that).
2016-11-08 08:02:22 -08:00
Moritz Fischer
f80677f185 usrp1: codec_ctrl: Fix compiler warning.
Use std::abs() instead of abs().

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-04-10 17:56:41 -07:00
Nicholas Corgan
654c5b06c0 Added missing pure virtual destructors to base classes 2014-09-01 17:58:24 +02:00
Josh Blum
0d5cef73c1 usrp1: wrap around for DAC tuning outside 1st nyquist 2012-06-28 13:10:01 -07:00
Josh Blum
3079b5715d usrp1: revert calculation for DAC freq outside of 1st Nyquist
This patch does not work. A possibile solution will be added to master.
2012-06-28 12:19:25 -07:00
Josh Blum
19874c04d4 usrp1: removed print from codec_ctrl last commit 2012-05-17 15:50:07 -07:00
Nicholas Corgan
c033017a3f Fixing USRP1 aliasing logic 2012-05-17 15:45:37 -07:00
Josh Blum
16afe14e35 usrp1: removed unused files from impl dir 2011-07-01 11:42:07 -07:00
Josh Blum
7613f8ce36 usrp1: implemented properties interface on usrp1 2011-07-01 11:33:03 -07:00
Josh Blum
09cf8eb164 uhd: added more SAFE_CALL macros to hardware wrapper dtors
And removed the calls on the sptr resets (not needed now).
2011-06-10 15:23:24 -07:00
Josh Blum
09be0518ce uhd: removed more iostream stuff from usrp* implementations 2011-05-04 19:53:01 -07:00
Josh Blum
6f70d17b20 usrp1: fixed codec ctrl aux adc read (didnt start conversions) + cleaned-up logic 2011-03-30 16:51:01 -07:00
Nick Foster
1b63cd2560 Generalized mboard_iface and added a SPI convenience class a la I2C 2011-03-03 10:50:45 -08:00
Josh Blum
1526889803 uhd: switch algorithm namespace to uhd 2011-02-24 17:28:10 -08:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
d71344091b usrp1: work on usrp1 hardware compat with the api
today we added shutoff the DAC when not transmitting using EOB as an indicator

added various other features and cleaned up code for soft time control
2011-01-17 15:18:46 -08:00
Josh Blum
261bb80d73 uhd: update copyright dates on host code 2011-01-13 16:22:07 -08:00
Josh Blum
395bbbbc11 uhd: replace all the instances of float not pertaining to io types with double, simplifies life 2011-01-11 19:46:45 -08:00
Josh Blum
08dfff3798 uhd: created a meta range that is a range of ranges for gains and freqs
created a templated range that that holds a start, stop, and step

created a meta-range template that is a vector of ranges
meta-range can calculate the overall start, stop, step
or be indexed to get at components

replaced instances of range.min, max, step with the functions
start() stop() and step()

the xcvr frequency range is now expressed in as two ranges
(have to fix its clip function though)
2010-11-10 19:29:06 -08:00
Nick Foster
56751efbe6 TVRX: works for USRP and USRP2. 2010-09-29 18:27:08 -07:00
Nick Foster
450abc5b21 Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into tvrx_uhd 2010-09-28 17:46:39 -07:00
Nick Foster
15eacbd920 TVRX: Don't have mboard impl modified for ADC buffer disable. The rest of TVRX should be in there. Not debugged. 2010-09-28 13:52:09 -07:00
Josh Blum
f97c433845 usrp1: fixes to remove warnings and errors for usrp1 + libusb windows 2010-09-23 18:07:31 -07:00
Thomas Tsou
1e1e703739 usrp1: Disable default codec debug output 2010-08-27 12:20:37 -07:00
Josh Blum
eeb7241695 usrp1: codec pga gain control fix 2010-08-26 16:43:11 -07:00
Thomas Tsou
f41cdf4eeb usrp1: Change codec transmit gain scaling
The AD9862 datasheet states that maximum gain is achieved with
a value of 111111 (0x3f), however, empirical testing reveals that
the gain scaling value spans the full register width of 8-bits.
2010-08-19 19:33:18 -07:00
Thomas Tsou
7ce6f4752c usrp1: Remove codec gain TODO comments 2010-08-19 12:37:56 -07:00
Thomas Tsou
024377afa9 usrp1: Refactor mboard tuning code 2010-08-18 19:22:06 -07:00
Josh Blum
5c0d3d3060 usrp1: created daughterboard duality
everything that should have two is now stored into a dictionary of slot to type
the set and get functions are now bound with a third argument for dboard slot
the dboard iface has yet to be completed with the correct registers for a vs b
2010-08-15 18:49:06 -07:00
Josh Blum
2e978d8835 usrp1: compiling off next branch
made usb checking changes

implemented named_prop_t::extract change

copied the remainder of the codec pga gain control
2010-08-15 12:40:37 -07:00
Thomas Tsou
9cb9e7d522 usrp1: Add usrp1 implementation 2010-08-13 17:54:51 -07:00