EtherCAT MbxMsg header. More...
#include <ethercat_mbx.h>
Public Member Functions | |
virtual unsigned char * | dump (unsigned char *a_buffer) const |
Dump the data struct into an array (EtherCAT Little Endian) | |
EC_MbxMsgHdr (uint16_t a_length, EC_FixedStationAddress a_address, EC_MbxMsgPriority a_priority, EC_MbxMsgType a_type) | |
Constructor. | |
EC_MbxMsgHdr (const unsigned char *a_buffer) | |
Constructor from data array. | |
Public Attributes | |
EC_FixedStationAddress | m_address |
uint16_t | m_length |
EC_MbxMsgPriority | m_priority |
EC_MbxMsgType | m_type |
Friends | |
class | EtherCAT_Router |
EtherCAT MbxMsg header.
Definition at line 107 of file ethercat_mbx.h.
EC_MbxMsgHdr::EC_MbxMsgHdr | ( | uint16_t | a_length, |
EC_FixedStationAddress | a_address, | ||
EC_MbxMsgPriority | a_priority, | ||
EC_MbxMsgType | a_type | ||
) | [inline] |
Constructor.
a_length | Length of the MbxMsg |
a_address |
|
a_priority | Priority of this message |
a_type | Type of this Message (higher level protocol) |
Definition at line 125 of file ethercat_mbx.h.
EC_MbxMsgHdr::EC_MbxMsgHdr | ( | const unsigned char * | a_buffer | ) |
Constructor from data array.
virtual unsigned char* EC_MbxMsgHdr::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.
friend class EtherCAT_Router [friend] |
Definition at line 109 of file ethercat_mbx.h.
Definition at line 143 of file ethercat_mbx.h.
uint16_t EC_MbxMsgHdr::m_length |
Definition at line 142 of file ethercat_mbx.h.
Definition at line 145 of file ethercat_mbx.h.
Definition at line 146 of file ethercat_mbx.h.