USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
 
Loading...
Searching...
No Matches
clock_config.hpp
Go to the documentation of this file.
1//
2// Copyright 2010-2011 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#ifndef INCLUDED_UHD_TYPES_CLOCK_CONFIG_HPP
9#define INCLUDED_UHD_TYPES_CLOCK_CONFIG_HPP
10
11#include <uhd/config.hpp>
12
13namespace uhd {
14
27{
28 //------ simple usage --------//
29
32
35
36 //------ advanced usage --------//
38 REF_AUTO = int('a'), // automatic (device specific)
39 REF_INT = int('i'), // internal reference
40 REF_SMA = int('s'), // external sma port
41 REF_MIMO = int('m') // reference from mimo cable
42 } ref_source;
44 PPS_INT = int('i'), // there is no internal
45 PPS_SMA = int('s'), // external sma port
46 PPS_MIMO = int('m') // time sync from mimo cable
47 } pps_source;
49 PPS_NEG = int('n'), // negative edge
50 PPS_POS = int('p') // positive edge
51 } pps_polarity;
53};
54
55} // namespace uhd
56
57#endif /* INCLUDED_UHD_TYPES_CLOCK_CONFIG_HPP */
#define UHD_API
Definition config.h:68
Definition build_info.hpp:13
Definition clock_config.hpp:27
static clock_config_t internal(void)
A convenience function to create an internal clock configuration.
static clock_config_t external(void)
A convenience function to create an external clock configuration.
pps_polarity_t
Definition clock_config.hpp:48
pps_source_t
Definition clock_config.hpp:43
ref_source_t
Definition clock_config.hpp:37