diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2017-12-07 18:04:36 +0000 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2017-12-18 10:11:46 -0800 |
commit | 893609252b1935fc6d27aedaaf653f4ae62cfed4 (patch) | |
tree | 45220aa98662aa09298c9ed8017afc2219a02efb /host/lib/usrp/common/adf535x.cpp | |
parent | b25312cb7192a60935e30e2c64fc02adb8cf6385 (diff) | |
download | uhd-893609252b1935fc6d27aedaaf653f4ae62cfed4.tar.gz uhd-893609252b1935fc6d27aedaaf653f4ae62cfed4.tar.bz2 uhd-893609252b1935fc6d27aedaaf653f4ae62cfed4.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..1cd802b41 --- /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 sptr(new adf535x_impl<adf5355_regs_t>(write)); +} + +adf535x_iface::sptr adf535x_iface::make_adf5356(write_fn_t write) +{ + return sptr(new adf535x_impl<adf5356_regs_t>(write)); +}
\ No newline at end of file |