Public Member Functions | Public Attributes | Static Public Attributes | List of all members
et1x00_error_counters Struct Reference

#include <ethercat_device.h>

Public Member Functions

struct {
   uint8_t   invalid_frame
 
   uint8_t   rx_error
 
__attribute__ ((__packed__)) port[4]
 
bool isGreaterThan (const et1x00_error_counters &value) const
 
bool isGreaterThan (unsigned value) const
 
void zero ()
 

Public Attributes

uint8_t epu_error
 
uint8_t forwarded_rx_error [4]
 
uint8_t lost_link [4]
 
uint8_t pdi_error
 
uint8_t res [2]
 

Static Public Attributes

static const EC_UINT BASE_ADDR =0x300
 

Detailed Description

Definition at line 56 of file ethercat_device.h.

Member Function Documentation

◆ __attribute__()

struct et1x00_error_counters::@2 et1x00_error_counters::__attribute__ ( (__packed__)  )

◆ isGreaterThan() [1/2]

bool et1x00_error_counters::isGreaterThan ( const et1x00_error_counters value) const

Definition at line 63 of file ethercat_device.cpp.

◆ isGreaterThan() [2/2]

bool et1x00_error_counters::isGreaterThan ( unsigned  value) const

Definition at line 45 of file ethercat_device.cpp.

◆ zero()

void et1x00_error_counters::zero ( )

Definition at line 99 of file ethercat_device.cpp.

Member Data Documentation

◆ BASE_ADDR

const EC_UINT et1x00_error_counters::BASE_ADDR =0x300
static

Definition at line 67 of file ethercat_device.h.

◆ epu_error

uint8_t et1x00_error_counters::epu_error

Definition at line 63 of file ethercat_device.h.

◆ forwarded_rx_error

uint8_t et1x00_error_counters::forwarded_rx_error[4]

Definition at line 62 of file ethercat_device.h.

◆ invalid_frame

uint8_t et1x00_error_counters::invalid_frame

Definition at line 59 of file ethercat_device.h.

◆ lost_link

uint8_t et1x00_error_counters::lost_link[4]

Definition at line 66 of file ethercat_device.h.

◆ pdi_error

uint8_t et1x00_error_counters::pdi_error

Definition at line 64 of file ethercat_device.h.

◆ res

uint8_t et1x00_error_counters::res[2]

Definition at line 65 of file ethercat_device.h.

◆ rx_error

uint8_t et1x00_error_counters::rx_error

Definition at line 60 of file ethercat_device.h.


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


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Thu Sep 26 2024 02:44:05