$search

SyncMan Struct Reference

#include <wg0x.h>

List of all members.

Public Member Functions

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)

Public Attributes

union {
   struct {
      SyncManActivate   activate
      SyncManControl   control
      uint16_t   length
      SyncManPDIControl   pdi_control
      uint16_t   start_addr
      SyncManStatus   status
   }   __packed__
   uint8_t   raw [8]
__packed__

Static Public Attributes

static const unsigned BASE_ADDR = 0x800

Detailed Description

Definition at line 209 of file wg0x.h.


Member Function Documentation

unsigned SyncMan::baseAddress ( unsigned  num  )  [static]

Definition at line 1569 of file wg0x.cpp.

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

Read data from Sync Manager.

Parameters:
com used to perform communication with device
sh slave to read data from
addrMode addressing mode used to read data (FIXED/POSITIONAL)
num syncman number to read 0-7
Returns:
returns true for success, false for failure

Definition at line 1585 of file wg0x.cpp.


Member Data Documentation

union { ... } SyncMan::__packed__
struct { ... } SyncMan::__packed__

Definition at line 217 of file wg0x.h.

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

Definition at line 223 of file wg0x.h.

Definition at line 215 of file wg0x.h.

uint16_t SyncMan::length

Definition at line 214 of file wg0x.h.

Definition at line 218 of file wg0x.h.

uint8_t SyncMan::raw[8]

Definition at line 211 of file wg0x.h.

Definition at line 213 of file wg0x.h.

Definition at line 216 of file wg0x.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Fri Mar 1 16:52:17 2013