Logical Write Telegram. More...
#include <ethercat_logical_addressed_telegram.h>
Public Member Functions | |
LWR_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 Write Telegram.
Definition at line 109 of file ethercat_logical_addressed_telegram.h.
LWR_Telegram::LWR_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 written |
virtual const unsigned char* LWR_Telegram::build_command_field | ( | const unsigned char * | a_buffer | ) | [protected, virtual] |
Implements Logical_Addressing_Telegram.
virtual unsigned char* LWR_Telegram::dump_command_field | ( | unsigned char * | a_buffer | ) | const [protected, virtual] |
Implements Logical_Addressing_Telegram.