USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
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
18namespace uhd {
19
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
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
#define UHD_API
Definition: config.h:68
Definition: build_info.hpp:13
Definition: deprecated.hpp:30
size_t width
Definition: deprecated.hpp:34
size_t get_sample_size(void) const
size_t shift
Definition: deprecated.hpp:41