mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
Co-authored-by: Lars Amsel <lars.amsel@ni.com> Co-authored-by: Martin Braun <martin.braun@ettus.com>
27 lines
526 B
C++
27 lines
526 B
C++
//
|
|
// Copyright 2023 Ettus Research, a National Instruments Brand
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
//
|
|
|
|
#include "x400_internal_sync.hpp"
|
|
#include <uhd/utils/log.hpp>
|
|
|
|
namespace uhd { namespace features {
|
|
|
|
internal_sync::internal_sync(uhd::usrp::fbx::fbx_ctrl::sptr fbx_ctrl)
|
|
: _fbx_ctrl(fbx_ctrl)
|
|
{
|
|
}
|
|
|
|
void internal_sync::enable_sync_clk()
|
|
{
|
|
_fbx_ctrl->set_internal_sync_clk(true);
|
|
}
|
|
|
|
void internal_sync::disable_sync_clk()
|
|
{
|
|
_fbx_ctrl->set_internal_sync_clk(false);
|
|
}
|
|
|
|
}} // namespace uhd::features
|