Public Types | Public Attributes | Static Public Attributes | List of all members
ptb::content::word::feedback_t Struct Reference

#include <CTB_content.h>

Public Types

typedef uint64_t ts_size_t
 
typedef uint16_t code_size_t
 
typedef uint16_t source_size_t
 
typedef uint32_t wtype_size_t
 
typedef uint32_t pad_size_t
 

Public Attributes

ts_size_t timestamp
 
code_size_t code: 16
 
source_size_t source: 16
 
pad_size_t padding: 29
 
wtype_size_t word_type: 3
 

Static Public Attributes

static size_t const size_bytes = 2*sizeof(uint64_t)
 
static size_t const size_u32 = size_bytes/sizeof(uint32_t)
 
static size_t const n_bits_timestamp = 64
 
static size_t const n_bits_payload = 32
 
static size_t const n_bits_type = 3
 

Detailed Description

– Several different structures that can be used to reinterpret the payload depending on the word type. All these structures map into the full 16 bytes of the CTB words

Definition at line 110 of file CTB_content.h.

Member Typedef Documentation

Definition at line 112 of file CTB_content.h.

Definition at line 115 of file CTB_content.h.

Definition at line 113 of file CTB_content.h.

Definition at line 111 of file CTB_content.h.

Definition at line 114 of file CTB_content.h.

Member Data Documentation

code_size_t ptb::content::word::feedback_t::code

Definition at line 118 of file CTB_content.h.

size_t const ptb::content::word::feedback_t::n_bits_payload = 32
static

Definition at line 128 of file CTB_content.h.

size_t const ptb::content::word::feedback_t::n_bits_timestamp = 64
static

Definition at line 127 of file CTB_content.h.

size_t const ptb::content::word::feedback_t::n_bits_type = 3
static

Definition at line 129 of file CTB_content.h.

pad_size_t ptb::content::word::feedback_t::padding

Definition at line 120 of file CTB_content.h.

size_t const ptb::content::word::feedback_t::size_bytes = 2*sizeof(uint64_t)
static

Definition at line 124 of file CTB_content.h.

size_t const ptb::content::word::feedback_t::size_u32 = size_bytes/sizeof(uint32_t)
static

Definition at line 125 of file CTB_content.h.

source_size_t ptb::content::word::feedback_t::source

Definition at line 119 of file CTB_content.h.

ts_size_t ptb::content::word::feedback_t::timestamp

Definition at line 117 of file CTB_content.h.

wtype_size_t ptb::content::word::feedback_t::word_type

Definition at line 121 of file CTB_content.h.


The documentation for this struct was generated from the following file: