Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ethercat_hardware::SyncManActivate Struct Reference

#include <wg_util.h>

Public Member Functions

union {
   uint8_t   raw
 
__attribute__ ((__packed__))
 
bool writeData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) const
 Write data to Sync Manager Activation register. More...
 

Static Public Member Functions

static unsigned baseAddress (unsigned num)
 

Static Public Attributes

static const unsigned BASE_ADDR =0x806
 

Detailed Description

Definition at line 81 of file wg_util.h.

Member Function Documentation

◆ __attribute__()

union ethercat_hardware::SyncManActivate::@34 ethercat_hardware::SyncManActivate::__attribute__ ( (__packed__)  )

◆ baseAddress()

unsigned ethercat_hardware::SyncManActivate::baseAddress ( unsigned  num)
static

Definition at line 86 of file wg_util.cpp.

◆ writeData()

bool ethercat_hardware::SyncManActivate::writeData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh,
EthercatDevice::AddrMode  addrMode,
unsigned  num 
) const

Write data to Sync Manager Activation register.

Parameters
comused to perform communication with device
shslave to read data from
addrModeaddressing mode used to read data (FIXED/POSITIONAL)
numsyncman number to read 0-7
Returns
returns true for success, false for failure

Definition at line 101 of file wg_util.cpp.

Member Data Documentation

◆ BASE_ADDR

const unsigned ethercat_hardware::SyncManActivate::BASE_ADDR =0x806
static

Definition at line 92 of file wg_util.h.

◆ ecat_latch_event

uint8_t ethercat_hardware::SyncManActivate::ecat_latch_event

Definition at line 88 of file wg_util.h.

◆ enable

uint8_t ethercat_hardware::SyncManActivate::enable

Definition at line 85 of file wg_util.h.

◆ pdi_latch_event

uint8_t ethercat_hardware::SyncManActivate::pdi_latch_event

Definition at line 89 of file wg_util.h.

◆ raw

uint8_t ethercat_hardware::SyncManActivate::raw

Definition at line 83 of file wg_util.h.

◆ repeat_request

uint8_t ethercat_hardware::SyncManActivate::repeat_request

Definition at line 86 of file wg_util.h.

◆ res4

uint8_t ethercat_hardware::SyncManActivate::res4

Definition at line 87 of file wg_util.h.


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


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Tue Mar 28 2023 02:10:20