Auto Increment Physical Write Telegram (APWR) More...
#include <ethercat_device_addressed_telegram.h>
Public Member Functions | |
APWR_Telegram (uint8_t a_idx, uint16_t a_adp, uint16_t a_ado, 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 |
Auto Increment Physical Write Telegram (APWR)
Definition at line 131 of file ethercat_device_addressed_telegram.h.
APWR_Telegram::APWR_Telegram | ( | uint8_t | a_idx, |
uint16_t | a_adp, | ||
uint16_t | a_ado, | ||
uint16_t | a_wkc, | ||
uint16_t | a_datalen, | ||
const unsigned char * | a_data | ||
) |
Constructor.
a_idx | index |
a_adp | auto increment address |
a_ado | physical memory address |
a_wkc | working counter |
a_datalen | data_length |
a_data | data to be written |
virtual const unsigned char* APWR_Telegram::build_command_field | ( | const unsigned char * | a_buffer | ) | [protected, virtual] |
Implements Device_Addressing_Telegram.
virtual unsigned char* APWR_Telegram::dump_command_field | ( | unsigned char * | a_buffer | ) | const [protected, virtual] |
Implements Device_Addressing_Telegram.