EtherCAT Sync Manager. 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_SyncMan (uint16_t physical_start_address=0x0000, uint16_t length=0x0000, EC_BufferType buffer_type=EC_BUFFERED, EC_Direction direction=EC_READ_FROM_MASTER, bool AL_event_enable=false, bool watchdog_enable=false, bool write_event=false, bool read_event=false, bool watchdog_trigger=false, bool queued_state=EC_QUEUED_STATE_READ, EC_BufferedState buffered_state=EC_FIRST_BUFFER, bool ChannelEnable=false) | |
Constructor (see spec for arguments) | |
EC_SyncMan (const unsigned char *a_buffer) | |
Constructor: build from data array. | |
Public Attributes | |
bool | ALEventEnable |
EC_BufferedState | BufferedState |
EC_BufferType | BufferType |
bool | ChannelEnable |
EC_Direction | Direction |
bool | ECATEventEnable |
uint16_t | Length |
uint16_t | PhysicalStartAddress |
bool | QueuedState |
bool | ReadEvent |
bool | WatchdogEnable |
bool | WatchdogTrigger |
bool | WriteEvent |
EtherCAT Sync Manager.
Definition at line 719 of file ethercat_slave_memory.h.
EC_SyncMan::EC_SyncMan | ( | uint16_t | physical_start_address = 0x0000 , |
uint16_t | length = 0x0000 , |
||
EC_BufferType | buffer_type = EC_BUFFERED , |
||
EC_Direction | direction = EC_READ_FROM_MASTER , |
||
bool | AL_event_enable = false , |
||
bool | watchdog_enable = false , |
||
bool | write_event = false , |
||
bool | read_event = false , |
||
bool | watchdog_trigger = false , |
||
bool | queued_state = EC_QUEUED_STATE_READ , |
||
EC_BufferedState | buffered_state = EC_FIRST_BUFFER , |
||
bool | ChannelEnable = false |
||
) |
Constructor (see spec for arguments)
EC_SyncMan::EC_SyncMan | ( | const unsigned char * | a_buffer | ) |
Constructor: build from data array.
virtual unsigned char* EC_SyncMan::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 744 of file ethercat_slave_memory.h.
Definition at line 751 of file ethercat_slave_memory.h.
Definition at line 742 of file ethercat_slave_memory.h.
Definition at line 752 of file ethercat_slave_memory.h.
Definition at line 743 of file ethercat_slave_memory.h.
Definition at line 745 of file ethercat_slave_memory.h.
uint16_t EC_SyncMan::Length |
Definition at line 741 of file ethercat_slave_memory.h.
uint16_t EC_SyncMan::PhysicalStartAddress |
Definition at line 740 of file ethercat_slave_memory.h.
Definition at line 750 of file ethercat_slave_memory.h.
Definition at line 748 of file ethercat_slave_memory.h.
Definition at line 746 of file ethercat_slave_memory.h.
Definition at line 749 of file ethercat_slave_memory.h.
Definition at line 747 of file ethercat_slave_memory.h.