PDUMetaData Struct Reference

The PDUMetaData struct holds information about the structure of a PDU. More...

#include <armarx/control/ethercat/bus_io/EtherCATFrame.h>

Public Attributes

std::map< datatypes::RegisterEnum, size_t > registerOffsets
 The offsets of the registers that are written into this PDU by the slave relative to the start of the EtherCAT frame. More...
 
uint16_t slaveConfiguredAddress
 
size_t workingCounterOffset
 The offset of the working counter for this PDU relative to the start of the EtherCAT frame. More...
 

Detailed Description

The PDUMetaData struct holds information about the structure of a PDU.

We need this if we don't want to reparse the frames once we receive to get the data out.

Definition at line 93 of file EtherCATFrame.h.

Member Data Documentation

◆ registerOffsets

std::map<datatypes::RegisterEnum, size_t> registerOffsets

The offsets of the registers that are written into this PDU by the slave relative to the start of the EtherCAT frame.

Definition at line 101 of file EtherCATFrame.h.

◆ slaveConfiguredAddress

uint16_t slaveConfiguredAddress

Definition at line 95 of file EtherCATFrame.h.

◆ workingCounterOffset

size_t workingCounterOffset

The offset of the working counter for this PDU relative to the start of the EtherCAT frame.

Definition at line 107 of file EtherCATFrame.h.


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