USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
deprecated.hpp
Go to the documentation of this file.
1
//----------------------------------------------------------------------
2
//-- deprecated interfaces below, to be removed when the API is changed
3
//----------------------------------------------------------------------
4
5
//
6
// Copyright 2010 Ettus Research LLC
7
// Copyright 2018 Ettus Research, a National Instruments Company
8
//
9
// SPDX-License-Identifier: GPL-3.0-or-later
10
//
11
12
#ifndef INCLUDED_UHD_TYPES_OTW_TYPE_HPP
13
# define INCLUDED_UHD_TYPES_OTW_TYPE_HPP
14
15
# include <
uhd/config.hpp
>
16
# include <cstddef>
17
18
namespace
uhd
{
19
29
struct
UHD_API
otw_type_t
30
{
34
size_t
width
;
// in bits
35
41
size_t
shift
;
// in bits
42
46
enum
/*bo_t*/
{
47
BO_NATIVE = int(
'='
),
48
BO_LITTLE_ENDIAN = int(
'<'
),
49
BO_BIG_ENDIAN = int(
'>'
),
50
BO_NOT_APPLICABLE = int(
'|'
)
51
} byteorder;
52
57
size_t
get_sample_size(
void
)
const
;
58
59
otw_type_t
(
void
);
60
};
61
62
}
// namespace uhd
63
64
#endif
/* INCLUDED_UHD_TYPES_OTW_TYPE_HPP */
65
66
#include <
uhd/types/clock_config.hpp
>
//wish it was in here
67
#include <
uhd/types/io_type.hpp
>
//wish it was in here
config.hpp
uhd::otw_type_t
Definition:
deprecated.hpp:29
UHD_API
#define UHD_API
Definition:
config.h:68
uhd::otw_type_t::shift
size_t shift
Definition:
deprecated.hpp:41
clock_config.hpp
uhd
Definition:
build_info.hpp:13
uhd::otw_type_t::width
size_t width
Definition:
deprecated.hpp:34
io_type.hpp
include
uhd
deprecated.hpp
Generated by
1.8.16