Psyllid  v1.12.4
Project 8 Data Acquisisition Software
Classes | Namespaces | Macros | Functions
roach_packet.hh File Reference
#include <cinttypes>
#include <cstddef>
Include dependency graph for roach_packet.hh:

Go to the source code of this file.

Classes

class  roach_packet
 
struct  raw_roach_packet
 
class  roach_packet_data
 

Namespaces

 psyllid
 

Macros

#define PAYLOAD_SIZE   8192
 
#define BATCH_COUNTER_SIZE   390626
 
#define payload_swap(x)
 

Functions

void byteswap_inplace (raw_roach_packet *a_pkt)
 

Macro Definition Documentation

◆ BATCH_COUNTER_SIZE

#define BATCH_COUNTER_SIZE   390626

Definition at line 18 of file roach_packet.hh.

◆ PAYLOAD_SIZE

#define PAYLOAD_SIZE   8192

Definition at line 15 of file roach_packet.hh.

◆ payload_swap

#define payload_swap (   x)
Value:
( ( (x & 0xffff000000000000ull) >> 48 ) | \
( (x & 0x0000ffff00000000ull) >> 16 ) | \
( (x & 0x00000000ffff0000ull) << 16 ) | \
( (x & 0x000000000000ffffull) << 48 ) )

Definition at line 24 of file roach_packet.hh.