diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2017-12-07 18:04:36 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-08 12:07:52 -0800 |
commit | 85a707d7fff008e15e8f83c66dbbe253d6093479 (patch) | |
tree | 2f98f8f240b06a713a053cf44067d54b75b3876b /host/lib/usrp/common/adf535x.cpp | |
parent | 298a13ac3d9f9e785bf031e85060569541ca4b6f (diff) | |
download | uhd-85a707d7fff008e15e8f83c66dbbe253d6093479.tar.gz uhd-85a707d7fff008e15e8f83c66dbbe253d6093479.tar.bz2 uhd-85a707d7fff008e15e8f83c66dbbe253d6093479.zip |
TwinRX: Added ADF5356 synth and TwinRX Rev C support
ADF5355 and ADF5356 support merged into adf535x class
Default register values moved into regmap
Reviewed-By: Martin Braun <martin.braun@ettus.com>
Reviewed-By: Ashish Chaudhari <ashish@ettus.com>
Reviewed-By: Mark Meserve <mark.meserve@ni.com>
Diffstat (limited to 'host/lib/usrp/common/adf535x.cpp')
-rw-r--r-- | host/lib/usrp/common/adf535x.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/host/lib/usrp/common/adf535x.cpp b/host/lib/usrp/common/adf535x.cpp new file mode 100644 index 000000000..4289d7493 --- /dev/null +++ b/host/lib/usrp/common/adf535x.cpp @@ -0,0 +1,17 @@ +// +// Copyright 2013-2014, 2017 Ettus Research, A National Instruments Company +// +// SPDX-License-Identifier: GPL-3.0 +// + +#include "adf535x.hpp" + +adf535x_iface::sptr adf535x_iface::make_adf5355(write_fn_t write) +{ + return std::make_shared<adf535x_impl<adf5355_regs_t>>(write); +} + +adf535x_iface::sptr adf535x_iface::make_adf5356(write_fn_t write) +{ + return std::make_shared<adf535x_impl<adf5356_regs_t>>(write); +}
\ No newline at end of file |