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 (unsigned value) const
 
bool isGreaterThan (const et1x00_error_counters &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

struct et1x00_error_counters::@2 et1x00_error_counters::__attribute__ ( (__packed__)  )
bool et1x00_error_counters::isGreaterThan ( unsigned  value) const

Definition at line 45 of file ethercat_device.cpp.

bool et1x00_error_counters::isGreaterThan ( const et1x00_error_counters value) const

Definition at line 63 of file ethercat_device.cpp.

void et1x00_error_counters::zero ( )

Definition at line 99 of file ethercat_device.cpp.

Member Data Documentation

const EC_UINT et1x00_error_counters::BASE_ADDR =0x300
static

Definition at line 67 of file ethercat_device.h.

uint8_t et1x00_error_counters::epu_error

Definition at line 63 of file ethercat_device.h.

uint8_t et1x00_error_counters::forwarded_rx_error[4]

Definition at line 62 of file ethercat_device.h.

uint8_t et1x00_error_counters::invalid_frame

Definition at line 59 of file ethercat_device.h.

uint8_t et1x00_error_counters::lost_link[4]

Definition at line 66 of file ethercat_device.h.

uint8_t et1x00_error_counters::pdi_error

Definition at line 64 of file ethercat_device.h.

uint8_t et1x00_error_counters::res[2]

Definition at line 65 of file ethercat_device.h.

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 Mar 4 2021 03:10:21