SyncManActivate Struct Reference

#include <wg0x.h>

List of all members.

Public Member Functions

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)

Public Attributes

union {
   struct {
      uint8_t   ecat_latch_event: 1
      uint8_t   enable: 1
      uint8_t   pdi_latch_event: 1
      uint8_t   repeat_request: 1
      uint8_t   res4: 4
   }   __packed__
   uint8_t   raw
__packed__

Static Public Attributes

static const unsigned BASE_ADDR = 0x806

Detailed Description

Definition at line 157 of file wg0x.h.


Member Function Documentation

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

Definition at line 1531 of file wg0x.cpp.

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

Write data to Sync Manager Activation register.

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 1546 of file wg0x.cpp.


Member Data Documentation

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

Definition at line 168 of file wg0x.h.

Definition at line 164 of file wg0x.h.

Definition at line 161 of file wg0x.h.

Definition at line 165 of file wg0x.h.

Definition at line 159 of file wg0x.h.

Definition at line 162 of file wg0x.h.

Definition at line 163 of file wg0x.h.


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


ethercat_hardware
Author(s): Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Fri Jan 11 09:11:23 2013