Public Member Functions | Public Attributes
EC_ALControl Class Reference

AL Control register. More...

#include <ethercat_slave_memory.h>

Inheritance diagram for EC_ALControl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual unsigned char * dump (unsigned char *a_buffer) const
 Dump the data struct into an array (EtherCAT Little Endian)
 EC_ALControl (EC_State state=EC_INIT_STATE, bool ack=false)
 Constructor.
 EC_ALControl (const unsigned char *a_buffer)
 Constructor: build from data array.

Public Attributes

bool Acknowledge
EC_State State

Detailed Description

AL Control register.

Definition at line 472 of file ethercat_slave_memory.h.


Constructor & Destructor Documentation

EC_ALControl::EC_ALControl ( EC_State  state = EC_INIT_STATE,
bool  ack = false 
)

Constructor.

Parameters:
stateEtherCAT state: Can be one of the following: EC_INIT_STATE, EC_PREOP_STATE, EC_BOOTSTRAP_STATE, EC_SAFEOP_STATE, EC_OP_STATE
ackAcknowledge
Note:
The bootstrap state is currently unimplemented
EC_ALControl::EC_ALControl ( const unsigned char *  a_buffer)

Constructor: build from data array.


Member Function Documentation

virtual unsigned char* EC_ALControl::dump ( unsigned char *  a_buffer) const [virtual]

Dump the data struct into an array (EtherCAT Little Endian)

Parameters:
a_bufferwhere data should be dumped
Returns:
pointer just beyond the array

Implements EC_DataStruct.


Member Data Documentation

Definition at line 490 of file ethercat_slave_memory.h.

Definition at line 489 of file ethercat_slave_memory.h.


The documentation for this class was generated from the following file:


ros_ethercat_eml
Author(s): Tom Panis, Klaas Gadeyne, Bob Koninckx, Austin Hendrix, Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:50