Classes | Namespaces | Functions | Variables
wg_util.h File Reference
#include <stdint.h>
#include "ethercat_hardware/ethercat_com.h"
#include "ethercat_hardware/ethercat_device.h"
Include dependency graph for wg_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ethercat_hardware::SyncMan
struct  ethercat_hardware::SyncManActivate
struct  ethercat_hardware::SyncManControl
struct  ethercat_hardware::SyncManPDIControl
struct  ethercat_hardware::SyncManStatus

Namespaces

namespace  ethercat_hardware
namespace  ethercat_hardware::wg_util

Functions

struct {
   uint8_t   direction: 2
   uint8_t   ecat_irq_enable: 1
   uint8_t   mode: 2
   uint8_t   pdi_irq_enable: 1
   uint8_t   res1: 1
   uint8_t   watchdog_enable: 1
__attribute__ ((__packed__))
struct
ethercat_hardware::MotorHeatingModelParameters 
ethercat_hardware::__attribute__ ((__packed__))
static unsigned baseAddress (unsigned num)
unsigned ethercat_hardware::wg_util::computeChecksum (void const *data, unsigned length)
bool readData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num)
unsigned int ethercat_hardware::wg_util::rotateRight8 (unsigned in)
bool writeData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) const

Variables

SyncManActivate activate
static const unsigned BASE_ADDR = 0x806
uint8_t buffer_status
SyncManControl control
uint8_t deactivate
uint8_t direction
uint8_t ecat_irq_enable
uint8_t ecat_latch_event
uint8_t enable
uint8_t interrupt_read
uint8_t interrupt_write
uint16_t length
uint8_t mailbox_status
uint8_t mode
SyncManPDIControl pdi_control
uint8_t pdi_irq_enable
uint8_t pdi_latch_event
uint8_t raw
uint8_t repeat_ack
uint8_t repeat_request
uint8_t res1
uint8_t res2
uint8_t res4
uint8_t res6
uint16_t start_addr
SyncManStatus status
uint8_t watchdog_enable

Function Documentation

struct @24 __attribute__::__attribute__ ( (__packed__)  )
static unsigned baseAddress ( unsigned  num) [static]
bool __attribute__::readData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh,
EthercatDevice::AddrMode  addrMode,
unsigned  num 
)
bool __attribute__::writeData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh,
EthercatDevice::AddrMode  addrMode,
unsigned  num 
) const

Variable Documentation

SyncManActivate activate

Definition at line 130 of file wg_util.h.

static const unsigned BASE_ADDR = 0x806 [static]

Definition at line 107 of file wg_util.h.

uint8_t buffer_status

Definition at line 78 of file wg_util.h.

SyncManControl control

Definition at line 128 of file wg_util.h.

uint8_t deactivate

Definition at line 107 of file wg_util.h.

uint8_t direction

Definition at line 57 of file wg_util.h.

uint8_t ecat_irq_enable

Definition at line 58 of file wg_util.h.

Definition at line 94 of file wg_util.h.

uint8_t enable

Definition at line 91 of file wg_util.h.

uint8_t interrupt_read

Definition at line 75 of file wg_util.h.

uint8_t interrupt_write

Definition at line 74 of file wg_util.h.

uint16_t length

Definition at line 127 of file wg_util.h.

uint8_t mailbox_status

Definition at line 77 of file wg_util.h.

uint8_t mode

Definition at line 56 of file wg_util.h.

SyncManPDIControl pdi_control

Definition at line 131 of file wg_util.h.

uint8_t pdi_irq_enable

Definition at line 59 of file wg_util.h.

uint8_t pdi_latch_event

Definition at line 95 of file wg_util.h.

uint8_t raw

Definition at line 57 of file wg_util.h.

uint8_t repeat_ack

Definition at line 108 of file wg_util.h.

uint8_t repeat_request

Definition at line 92 of file wg_util.h.

uint8_t res1

Definition at line 61 of file wg_util.h.

uint8_t res2

Definition at line 79 of file wg_util.h.

uint8_t res4

Definition at line 93 of file wg_util.h.

uint8_t res6

Definition at line 109 of file wg_util.h.

uint16_t start_addr

Definition at line 126 of file wg_util.h.

SyncManStatus status

Definition at line 129 of file wg_util.h.

uint8_t watchdog_enable

Definition at line 60 of file wg_util.h.



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