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

#include <wg_util.h>

List of all members.

Public Member Functions

union {
   uint8_t   raw [8]
__attribute__ ((__packed__))
bool readData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num)
 Read data from Sync Manager.

Static Public Member Functions

static unsigned baseAddress (unsigned num)

Static Public Attributes

static const unsigned BASE_ADDR = 0x800

Detailed Description

Definition at line 115 of file wg_util.h.


Member Function Documentation

union ethercat_hardware::SyncMan::@46 ethercat_hardware::SyncMan::__attribute__ ( (__packed__)  )
unsigned ethercat_hardware::SyncMan::baseAddress ( unsigned  num) [static]

Definition at line 64 of file wg_util.cpp.

bool ethercat_hardware::SyncMan::readData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh,
EthercatDevice::AddrMode  addrMode,
unsigned  num 
)

Read data from Sync Manager.

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 80 of file wg_util.cpp.


Member Data Documentation

Definition at line 123 of file wg_util.h.

const unsigned ethercat_hardware::SyncMan::BASE_ADDR = 0x800 [static]

Definition at line 129 of file wg_util.h.

Definition at line 121 of file wg_util.h.

Definition at line 120 of file wg_util.h.

Definition at line 124 of file wg_util.h.

Definition at line 117 of file wg_util.h.

Definition at line 119 of file wg_util.h.

Definition at line 122 of file wg_util.h.


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


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Apr 24 2014 15:43:45