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.
 
uint16_t slaveConfiguredAddress
 
size_t workingCounterOffset
 The offset of the working counter for this PDU relative to the start of the EtherCAT frame.
 

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.

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.

◆ slaveConfiguredAddress

uint16_t slaveConfiguredAddress

◆ workingCounterOffset

size_t workingCounterOffset

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


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