USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
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
13
namespace
uhd
{
14
26
struct
UHD_API
clock_config_t
27
{
28
//------ simple usage --------//
29
31
static
clock_config_t
external(
void
);
32
34
static
clock_config_t
internal
(void);
35
36
//------ advanced usage --------//
37
enum
ref_source_t
{
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;
43
enum
pps_source_t
{
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;
48
enum
pps_polarity_t
{
49
PPS_NEG = int(
'n'
),
// negative edge
50
PPS_POS = int(
'p'
)
// positive edge
51
} pps_polarity;
52
clock_config_t
(
void
);
53
};
54
55
}
// namespace uhd
56
57
#endif
/* INCLUDED_UHD_TYPES_CLOCK_CONFIG_HPP */
uhd::clock_config_t
Definition:
clock_config.hpp:26
config.hpp
UHD_API
#define UHD_API
Definition:
config.h:68
uhd::clock_config_t::pps_polarity_t
pps_polarity_t
Definition:
clock_config.hpp:48
uhd::clock_config_t::ref_source_t
ref_source_t
Definition:
clock_config.hpp:37
uhd
Definition:
build_info.hpp:13
uhd::clock_config_t::pps_source_t
pps_source_t
Definition:
clock_config.hpp:43
include
uhd
types
clock_config.hpp
Generated by
1.8.16