DESERT 3.5.1
Loading...
Searching...
No Matches
uwtokenbus_hdr.h File Reference
#include <cstdint>
#include <packet.h>
#include <limits>
Include dependency graph for uwtokenbus_hdr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hdr_tokenbus
 

Macros

#define HDR_TOKENBUS(p)    (hdr_tokenbus::access(p))
 

Typedefs

typedef uint_least16_t tokenid_t
 
typedef struct hdr_tokenbus hdr_tokenbus
 

Variables

constexpr size_t TOKENIDMAX = std::numeric_limits<tokenid_t>::max()
 
packet_t PT_UWTOKENBUS
 

Detailed Description

Common structures and variables in the protocol.

Author
Antonio Montanari
Version
1.0.0

Definition in file uwtokenbus_hdr.h.

Macro Definition Documentation

◆ HDR_TOKENBUS

#define HDR_TOKENBUS (   p)     (hdr_tokenbus::access(p))

alias defined to access the TOKEN BUS HEADER

Definition at line 100 of file uwtokenbus_hdr.h.

Typedef Documentation

◆ hdr_tokenbus

typedef struct hdr_tokenbus hdr_tokenbus

Header of the token bus protocol.

◆ tokenid_t

typedef uint_least16_t tokenid_t

set here the size of the tokenid counter

Definition at line 47 of file uwtokenbus_hdr.h.

Variable Documentation

◆ PT_UWTOKENBUS

packet_t PT_UWTOKENBUS
extern

◆ TOKENIDMAX

constexpr size_t TOKENIDMAX = std::numeric_limits<tokenid_t>::max()
constexpr

Definition at line 48 of file uwtokenbus_hdr.h.