Logical Read Telegram. More...
#include <ethercat_logical_addressed_telegram.h>
Public Member Functions | |
LRD_Telegram (uint8_t a_idx, uint32_t a_adr, uint16_t a_wkc, uint16_t a_datalen, const unsigned char *a_data) | |
Constructor. | |
Protected Member Functions | |
virtual const unsigned char * | build_command_field (const unsigned char *a_buffer) |
virtual unsigned char * | dump_command_field (unsigned char *a_buffer) const |
Logical Read Telegram.
Definition at line 87 of file ethercat_logical_addressed_telegram.h.
LRD_Telegram::LRD_Telegram | ( | uint8_t | a_idx, |
uint32_t | a_adr, | ||
uint16_t | a_wkc, | ||
uint16_t | a_datalen, | ||
const unsigned char * | a_data | ||
) |
Constructor.
a_idx | index |
a_adr | logical address |
a_wkc | working counter |
a_datalen | data_length |
a_data | data to be read |
virtual const unsigned char* LRD_Telegram::build_command_field | ( | const unsigned char * | a_buffer | ) | [protected, virtual] |
Implements Logical_Addressing_Telegram.
virtual unsigned char* LRD_Telegram::dump_command_field | ( | unsigned char * | a_buffer | ) | const [protected, virtual] |
Implements Logical_Addressing_Telegram.