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

#include <wg0x.h>

Public Member Functions

union {
   uint16_t   supply_current_out_
 
   uint16_t   voltage_ref_
 
__attribute__ ((__packed__))
 

Public Attributes

int16_t adc_current_
 
int16_t config_offset_current_A_
 
int16_t config_offset_current_B_
 
uint8_t highside_deadtime_
 
uint8_t lowside_deadtime_
 
uint8_t mbx_command_irq_count_
 
int16_t offset_current_A_
 
int16_t offset_current_B_
 
uint8_t pdi_checksum_error_count_
 
uint8_t pdi_timeout_error_count_
 
uint8_t pdo_command_irq_count_
 
WG0XSafetyDisableCounters safety_disable_counters_
 
uint16_t supply_current_in_
 
uint8_t unused1 [2]
 
uint8_t unused2 [14]
 
uint8_t unused3
 
uint8_t unused4
 

Static Public Attributes

static const unsigned BASE_ADDR = 0x200
 

Detailed Description

Definition at line 70 of file wg0x.h.

Member Function Documentation

◆ __attribute__()

union WG0XDiagnosticsInfo::@9 WG0XDiagnosticsInfo::__attribute__ ( (__packed__)  )

Member Data Documentation

◆ adc_current_

int16_t WG0XDiagnosticsInfo::adc_current_

Definition at line 81 of file wg0x.h.

◆ BASE_ADDR

const unsigned WG0XDiagnosticsInfo::BASE_ADDR = 0x200
static

Definition at line 93 of file wg0x.h.

◆ config_offset_current_A_

int16_t WG0XDiagnosticsInfo::config_offset_current_A_

Definition at line 72 of file wg0x.h.

◆ config_offset_current_B_

int16_t WG0XDiagnosticsInfo::config_offset_current_B_

Definition at line 73 of file wg0x.h.

◆ highside_deadtime_

uint8_t WG0XDiagnosticsInfo::highside_deadtime_

Definition at line 84 of file wg0x.h.

◆ lowside_deadtime_

uint8_t WG0XDiagnosticsInfo::lowside_deadtime_

Definition at line 83 of file wg0x.h.

◆ mbx_command_irq_count_

uint8_t WG0XDiagnosticsInfo::mbx_command_irq_count_

Definition at line 87 of file wg0x.h.

◆ offset_current_A_

int16_t WG0XDiagnosticsInfo::offset_current_A_

Definition at line 79 of file wg0x.h.

◆ offset_current_B_

int16_t WG0XDiagnosticsInfo::offset_current_B_

Definition at line 80 of file wg0x.h.

◆ pdi_checksum_error_count_

uint8_t WG0XDiagnosticsInfo::pdi_checksum_error_count_

Definition at line 92 of file wg0x.h.

◆ pdi_timeout_error_count_

uint8_t WG0XDiagnosticsInfo::pdi_timeout_error_count_

Definition at line 91 of file wg0x.h.

◆ pdo_command_irq_count_

uint8_t WG0XDiagnosticsInfo::pdo_command_irq_count_

Definition at line 86 of file wg0x.h.

◆ safety_disable_counters_

WG0XSafetyDisableCounters WG0XDiagnosticsInfo::safety_disable_counters_

Definition at line 89 of file wg0x.h.

◆ supply_current_in_

uint16_t WG0XDiagnosticsInfo::supply_current_in_

Definition at line 74 of file wg0x.h.

◆ supply_current_out_

uint16_t WG0XDiagnosticsInfo::supply_current_out_

Definition at line 76 of file wg0x.h.

◆ unused1

uint8_t WG0XDiagnosticsInfo::unused1[2]

Definition at line 82 of file wg0x.h.

◆ unused2

uint8_t WG0XDiagnosticsInfo::unused2[14]

Definition at line 85 of file wg0x.h.

◆ unused3

uint8_t WG0XDiagnosticsInfo::unused3

Definition at line 88 of file wg0x.h.

◆ unused4

uint8_t WG0XDiagnosticsInfo::unused4

Definition at line 90 of file wg0x.h.

◆ voltage_ref_

uint16_t WG0XDiagnosticsInfo::voltage_ref_

Definition at line 77 of file wg0x.h.


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


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