USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
chdr_types.hpp File Reference
#include <uhd/rfnoc/rfnoc_types.hpp>
#include <uhd/types/endianness.hpp>
#include <uhd/utils/byteswap.hpp>
#include <boost/format.hpp>
#include <boost/optional.hpp>
#include <deque>
#include <list>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  uhd::rfnoc::chdr::chdr_header
 
class  uhd::rfnoc::chdr::ctrl_payload
 
class  uhd::rfnoc::chdr::strs_payload
 
class  uhd::rfnoc::chdr::strc_payload
 
class  uhd::rfnoc::chdr::mgmt_op_t
 A class that represents a single management operation. More...
 
struct  uhd::rfnoc::chdr::mgmt_op_t::sel_dest_payload
 An interpretation class for the payload for MGMT_OP_SEL_DEST. More...
 
struct  uhd::rfnoc::chdr::mgmt_op_t::cfg_payload
 
struct  uhd::rfnoc::chdr::mgmt_op_t::node_info_payload
 An interpretation class for the payload for MGMT_OP_INFO_RESP. More...
 
class  uhd::rfnoc::chdr::mgmt_hop_t
 A class that represents a single management hop. More...
 
class  uhd::rfnoc::chdr::mgmt_payload
 A class that represents a complete multi-hop management transaction. More...
 

Namespaces

 uhd
 
 uhd::rfnoc
 
 uhd::rfnoc::chdr
 

Enumerations

enum  uhd::rfnoc::chdr::packet_type_t {
  uhd::rfnoc::chdr::PKT_TYPE_MGMT = 0x0, uhd::rfnoc::chdr::PKT_TYPE_STRS = 0x1, uhd::rfnoc::chdr::PKT_TYPE_STRC = 0x2, uhd::rfnoc::chdr::PKT_TYPE_CTRL = 0x4,
  uhd::rfnoc::chdr::PKT_TYPE_DATA_NO_TS = 0x6, uhd::rfnoc::chdr::PKT_TYPE_DATA_WITH_TS = 0x7
}
 
enum  uhd::rfnoc::chdr::ctrl_status_t { uhd::rfnoc::chdr::CMD_OKAY = 0x0, uhd::rfnoc::chdr::CMD_CMDERR = 0x1, uhd::rfnoc::chdr::CMD_TSERR = 0x2, uhd::rfnoc::chdr::CMD_WARNING = 0x3 }
 
enum  uhd::rfnoc::chdr::ctrl_opcode_t {
  uhd::rfnoc::chdr::OP_SLEEP = 0x0, uhd::rfnoc::chdr::OP_WRITE = 0x1, uhd::rfnoc::chdr::OP_READ = 0x2, uhd::rfnoc::chdr::OP_READ_WRITE = 0x3,
  uhd::rfnoc::chdr::OP_BLOCK_WRITE = 0x4, uhd::rfnoc::chdr::OP_BLOCK_READ = 0x5, uhd::rfnoc::chdr::OP_POLL = 0x6, uhd::rfnoc::chdr::OP_USER1 = 0xA,
  uhd::rfnoc::chdr::OP_USER2 = 0xB, uhd::rfnoc::chdr::OP_USER3 = 0xC, uhd::rfnoc::chdr::OP_USER4 = 0xD, uhd::rfnoc::chdr::OP_USER5 = 0xE,
  uhd::rfnoc::chdr::OP_USER6 = 0xF
}
 
enum  uhd::rfnoc::chdr::strs_status_t {
  uhd::rfnoc::chdr::STRS_OKAY = 0x0, uhd::rfnoc::chdr::STRS_CMDERR = 0x1, uhd::rfnoc::chdr::STRS_SEQERR = 0x2, uhd::rfnoc::chdr::STRS_DATAERR = 0x3,
  uhd::rfnoc::chdr::STRS_RTERR = 0x4
}
 
enum  uhd::rfnoc::chdr::strc_op_code_t { uhd::rfnoc::chdr::STRC_INIT = 0x0, uhd::rfnoc::chdr::STRC_PING = 0x1, uhd::rfnoc::chdr::STRC_RESYNC = 0x2 }
 

Functions

template<typename payload_t >
constexpr packet_type_t uhd::rfnoc::chdr::payload_to_packet_type ()
 Conversion from payload_t to pkt_type. More...
 
template<>
constexpr packet_type_t uhd::rfnoc::chdr::payload_to_packet_type< ctrl_payload > ()
 
template<>
constexpr packet_type_t uhd::rfnoc::chdr::payload_to_packet_type< mgmt_payload > ()
 
template<>
constexpr packet_type_t uhd::rfnoc::chdr::payload_to_packet_type< strc_payload > ()
 
template<>
constexpr packet_type_t uhd::rfnoc::chdr::payload_to_packet_type< strs_payload > ()