USRP Hardware Driver and USRP Manual  Version: 3.13.0.HEAD-0-gf114cfa0
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 
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/io_type.hpp> //wish it was in here
67 #include <uhd/types/clock_config.hpp> //wish it was in here
size_t shift
Definition: deprecated.hpp:41
Definition: deprecated.hpp:29
Definition: build_info.hpp:14
size_t width
Definition: deprecated.hpp:34
#define UHD_API
Definition: config.h:63