Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
tSoeHeaderControlUnion Union Reference

Union providing bit-field and byte-level access to the SoE header control and element fields. More...

#include <packet-ecatmb.h>

Public Attributes

struct { 
 
   uint8_t   OpCode: 3 
 
   uint8_t   InComplete: 1 
 
   uint8_t   Error: 1 
 
   uint8_t   DriveNo: 3 
 
   uint8_t   DataState: 1 
 
   uint8_t   Name: 1 
 
   uint8_t   Attribute: 1 
 
   uint8_t   Unit: 1 
 
   uint8_t   Min: 1 
 
   uint8_t   Max: 1 
 
   uint8_t   Value: 1 
 
   uint8_t   Reserved: 1 
 
v 
 
struct { 
 
   uint8_t   Control 
 
   uint8_t   Element 
 
v2 
 

Detailed Description

Union providing bit-field and byte-level access to the SoE header control and element fields.

Member Data Documentation

◆ Attribute

uint8_t tSoeHeaderControlUnion::Attribute

Attribute element follows or is requested.

◆ Control

uint8_t tSoeHeaderControlUnion::Control

Raw control byte (OpCode, InComplete, Error, DriveNo).

◆ DataState

uint8_t tSoeHeaderControlUnion::DataState

Data-state element follows (response) or is requested (request).

◆ DriveNo

uint8_t tSoeHeaderControlUnion::DriveNo

Drive number addressed by this SoE message (0–7).

◆ Element

uint8_t tSoeHeaderControlUnion::Element

Raw element flags byte (DataState … Reserved).

◆ Error

uint8_t tSoeHeaderControlUnion::Error

Error flag: non-zero if an error word follows the header.

◆ InComplete

uint8_t tSoeHeaderControlUnion::InComplete

More-follows flag: non-zero if additional fragments are pending.

◆ Max

uint8_t tSoeHeaderControlUnion::Max

Maximum value element follows or is requested.

◆ Min

uint8_t tSoeHeaderControlUnion::Min

Minimum value element follows or is requested.

◆ Name

uint8_t tSoeHeaderControlUnion::Name

Name element follows or is requested.

◆ OpCode

uint8_t tSoeHeaderControlUnion::OpCode

Operation code; see ECAT_SOE_OPCODE_* values (0 = unused).

◆ Reserved

uint8_t tSoeHeaderControlUnion::Reserved

Reserved; must be zero.

◆ Unit

uint8_t tSoeHeaderControlUnion::Unit

Unit element follows or is requested.

◆ [struct]

struct { ... } tSoeHeaderControlUnion::v

Structured bit-field access.

◆ [struct]

struct { ... } tSoeHeaderControlUnion::v2

Byte-level access to the two control octets.

◆ Value

uint8_t tSoeHeaderControlUnion::Value

Value element follows or is requested.


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