USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
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 //
8 // SPDX-License-Identifier: GPL-3.0
9 //
10 
11 #ifndef INCLUDED_UHD_TYPES_OTW_TYPE_HPP
12 #define INCLUDED_UHD_TYPES_OTW_TYPE_HPP
13 
14 #include <uhd/config.hpp>
15 #include <cstddef>
16 
17 namespace uhd{
18 
29 
33  size_t width; //in bits
34 
40  size_t shift; //in bits
41 
45  enum /*bo_t*/ {
46  BO_NATIVE = int('='),
47  BO_LITTLE_ENDIAN = int('<'),
48  BO_BIG_ENDIAN = int('>'),
49  BO_NOT_APPLICABLE = int('|')
50  } byteorder;
51 
56  size_t get_sample_size(void) const;
57 
58  otw_type_t(void);
59  };
60 
61 } //namespace uhd
62 
63 #endif /* INCLUDED_UHD_TYPES_OTW_TYPE_HPP */
64 
65 #include <uhd/types/io_type.hpp> //wish it was in here
66 #include <uhd/types/clock_config.hpp> //wish it was in here
size_t shift
Definition: deprecated.hpp:40
Definition: deprecated.hpp:28
Definition: build_info.hpp:14
size_t width
Definition: deprecated.hpp:33
#define UHD_API
Definition: config.h:62