AL Control register. More...
#include <ethercat_slave_memory.h>
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 |
AL Control register.
Definition at line 472 of file ethercat_slave_memory.h.
EC_ALControl::EC_ALControl | ( | EC_State | state = EC_INIT_STATE , |
bool | ack = false |
||
) |
Constructor.
state | EtherCAT state: Can be one of the following: EC_INIT_STATE, EC_PREOP_STATE, EC_BOOTSTRAP_STATE, EC_SAFEOP_STATE, EC_OP_STATE |
ack | Acknowledge |
EC_ALControl::EC_ALControl | ( | const unsigned char * | a_buffer | ) |
Constructor: build from data array.
virtual unsigned char* EC_ALControl::dump | ( | unsigned char * | a_buffer | ) | const [virtual] |
Dump the data struct into an array (EtherCAT Little Endian)
a_buffer | where data should be dumped |
Implements EC_DataStruct.
Definition at line 490 of file ethercat_slave_memory.h.
Definition at line 489 of file ethercat_slave_memory.h.