Classes | Typedefs | Enumerations
ptb::content::word Namespace Reference

Classes

struct  ch_status_t
 
struct  feedback_t
 
struct  timestamp_t
 
struct  trigger_t
 
union  word
 
struct  word_t
 

Typedefs

typedef uint16_t trigger_code_t
 
typedef struct ptb::content::word::word_t word_t
 
typedef union ptb::content::word::word word
 
typedef struct ptb::content::word::feedback_t feedback_t
 
typedef struct ptb::content::word::ch_status_t ch_status_t
 
typedef struct ptb::content::word::timestamp_t timestamp_t
 
typedef struct ptb::content::word::trigger_t trigger_t
 

Enumerations

enum  word_type {
  t_fback =0x0, t_lt =0x1, t_gt =0x2, t_ch =0x3,
  t_chksum =0x4, t_ts =0x7
}
 

Typedef Documentation

– 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

– payload

Definition at line 68 of file CTB_content.h.

N. Barros - May 7, 2018 : Changed the structure of the parsing

Now all structures cast into 16 bytes, but declare different bit fields to interpret each frame in the context of its respective type

Also, to move into a format where the full timestamp is stored, the full timestamp is now placed in the 64 lsb, instead of the msb. Does complies with the memory alignment and simplifies the parsing of the structures

Enumeration Type Documentation

Enumerator
t_fback 
t_lt 
t_gt 
t_ch 
t_chksum 
t_ts 

Definition at line 59 of file CTB_content.h.