Public Member Functions | Static Public Member Functions | Static Public Attributes
ethercat_hardware::SyncManActivate Struct Reference

#include <wg_util.h>

List of all members.

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.

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

union ethercat_hardware::SyncManActivate::@34 ethercat_hardware::SyncManActivate::__attribute__ ( (__packed__)  )
unsigned ethercat_hardware::SyncManActivate::baseAddress ( unsigned  num) [static]

Definition at line 86 of file wg_util.cpp.

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

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

Definition at line 92 of file wg_util.h.

Definition at line 88 of file wg_util.h.

Definition at line 85 of file wg_util.h.

Definition at line 89 of file wg_util.h.

Definition at line 83 of file wg_util.h.

Definition at line 86 of file wg_util.h.

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 Fri Aug 28 2015 12:09:44