Classes | Namespaces | Enumerations | Functions | Variables
ethercat_al.h File Reference
#include "ethercat_hardware/ethercat_device.h"
#include "riq_msgs/RIQHandCommand.h"
#include <boost/thread/mutex.hpp>
Include dependency graph for ethercat_al.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  riq_hand_ethercat_hardware::ECatALControl
struct  riq_hand_ethercat_hardware::ECatALStatus
struct  riq_hand_ethercat_hardware::ECatALStatusAll
struct  riq_hand_ethercat_hardware::ECatALStatusCode
struct  riq_hand_ethercat_hardware::ECatStates

Namespaces

namespace  riq_hand_ethercat_hardware

Enumerations

enum  { NO_ERROR = 0, SYNC_MANAGER_WATCHDOG = 0x1b }

Functions

struct
riq_hand_ethercat_hardware::ECatALStatus 
riq_hand_ethercat_hardware::__attribute__ ((__packed__))
struct {
   uint16_t   error_: 1
   uint16_t   res_: 11
   uint16_t   state_: 4
__attribute__ ((__packed__))
static const char * errorCodeString (unsigned code)
const char * errorCodeString () const
bool readData (EthercatCom *com, EtherCAT_SlaveHandler *sh)
static void sizeAssert ()
const char * stateString () const
bool writeData (EthercatCom *com, EtherCAT_SlaveHandler *sh) const

Variables

uint16_t ack_error_
static const unsigned BASE_ADDR = 0x130
uint16_t error_
uint16_t error_code_
uint16_t raw_
uint16_t res_
uint16_t state_
ECatALStatus status_
ECatALStatusCode status_code_
uint16_t unused_

Enumeration Type Documentation

anonymous enum
Enumerator:
NO_ERROR 
SYNC_MANAGER_WATCHDOG 

Definition at line 85 of file ethercat_al.h.


Function Documentation

struct @3 __attribute__::__attribute__ ( (__packed__)  )
static const char* __attribute__::errorCodeString ( unsigned  code) [static]
const char* __attribute__::errorCodeString ( ) const

Definition at line 83 of file ethercat_al.h.

bool __attribute__::readData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh 
)
static void sizeAssert ( ) [static]
const char* __attribute__::stateString ( ) const

Definition at line 76 of file ethercat_al.h.

bool __attribute__::writeData ( EthercatCom com,
EtherCAT_SlaveHandler *  sh 
) const

Variable Documentation

uint16_t ack_error_

Definition at line 105 of file ethercat_al.h.

static const unsigned BASE_ADDR = 0x130 [static]

Definition at line 78 of file ethercat_al.h.

uint16_t error_

Definition at line 62 of file ethercat_al.h.

uint16_t error_code_

Definition at line 80 of file ethercat_al.h.

uint16_t raw_

Definition at line 62 of file ethercat_al.h.

uint16_t res_

Definition at line 63 of file ethercat_al.h.

uint16_t state_

Definition at line 61 of file ethercat_al.h.

uint8_t status_

Definition at line 94 of file ethercat_al.h.

ECatALStatusCode status_code_

Definition at line 96 of file ethercat_al.h.

uint16_t unused_

Definition at line 95 of file ethercat_al.h.



riq_hand_ethercat_hardware
Author(s): Derek King
autogenerated on Tue Apr 22 2014 19:42:45