#include <uhd/rfnoc/chdr_types.hpp>
| uhd::rfnoc::chdr::ctrl_payload::ctrl_payload |
( |
| ) |
|
|
default |
| uhd::rfnoc::chdr::ctrl_payload::ctrl_payload |
( |
const ctrl_payload & |
rhs | ) |
|
|
default |
| uhd::rfnoc::chdr::ctrl_payload::ctrl_payload |
( |
ctrl_payload && |
rhs | ) |
|
|
default |
| void uhd::rfnoc::chdr::ctrl_payload::deserialize |
( |
const uint64_t * |
buff, |
|
|
size_t |
num_elems, |
|
|
const std::function< uint64_t(uint64_t)> & |
conv_byte_order |
|
) |
| |
Deserialize the payload from a uint64_t buffer.
template<endianness_t endianness>
| void uhd::rfnoc::chdr::ctrl_payload::deserialize |
( |
const uint64_t * |
buff, |
|
|
size_t |
num_elems |
|
) |
| |
|
inline |
Deserialize the payload from a uint64_t buffer (no conversion function)
| size_t uhd::rfnoc::chdr::ctrl_payload::get_length |
( |
| ) |
const |
Get the serialized size of this payload in 64 bit words.
| bool uhd::rfnoc::chdr::ctrl_payload::has_timestamp |
( |
| ) |
const |
|
inline |
| bool uhd::rfnoc::chdr::ctrl_payload::operator!= |
( |
const ctrl_payload & |
rhs | ) |
const |
|
inline |
| bool uhd::rfnoc::chdr::ctrl_payload::operator== |
( |
const ctrl_payload & |
rhs | ) |
const |
| void uhd::rfnoc::chdr::ctrl_payload::populate_header |
( |
chdr_header & |
header | ) |
const |
Populate the header for this type of packet.
| size_t uhd::rfnoc::chdr::ctrl_payload::serialize |
( |
uint64_t * |
buff, |
|
|
size_t |
max_size_bytes, |
|
|
const std::function< uint64_t(uint64_t)> & |
conv_byte_order |
|
) |
| const |
Serialize the payload to a uint64_t buffer.
template<endianness_t endianness>
| size_t uhd::rfnoc::chdr::ctrl_payload::serialize |
( |
uint64_t * |
buff, |
|
|
size_t |
max_size_bytes |
|
) |
| const |
|
inline |
Serialize the payload to a uint64_t buffer (no conversion function)
| const std::string uhd::rfnoc::chdr::ctrl_payload::to_string |
( |
| ) |
const |
Return a string representation of this object.
| uint32_t uhd::rfnoc::chdr::ctrl_payload::address = 0 |
Address for transaction (20 bits)
| uint8_t uhd::rfnoc::chdr::ctrl_payload::byte_enable = 0xF |
Byte-enable mask for transaction (4 bits)
| std::vector<uint32_t> uhd::rfnoc::chdr::ctrl_payload::data_vtr = {0} |
Data for transaction (vector of 32 bits)
| uint16_t uhd::rfnoc::chdr::ctrl_payload::dst_port = 0 |
Destination port for transaction (10 bits)
| bool uhd::rfnoc::chdr::ctrl_payload::is_ack = false |
Is Acknowledgment Flag (1 bit)
| uint8_t uhd::rfnoc::chdr::ctrl_payload::seq_num = 0 |
| uint16_t uhd::rfnoc::chdr::ctrl_payload::src_epid = 0 |
Source endpoint ID of transaction (16 bits)
| uint16_t uhd::rfnoc::chdr::ctrl_payload::src_port = 0 |
Source port for transaction (10 bits)
Transaction status (4 bits)
| boost::optional<uint64_t> uhd::rfnoc::chdr::ctrl_payload::timestamp = boost::none |
Has Time Flag (1 bit) and timestamp (64 bits)
The documentation for this class was generated from the following file: