EtherCAT FMMU. 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_FMMU (uint32_t logical_start_address=0x00000000, uint16_t length=0x0000, EC_BitPos logical_start_bit=0x00, EC_BitPos logical_end_bit=0x00, uint16_t physical_start_address=0x0000, EC_BitPos physical_start_bit=0x00, bool read_enable=false, bool write_enable=false, bool channel_enable=false) | |
Constructor (see spec for params) | |
EC_FMMU (const unsigned char *a_buffer) | |
Constructor: build from data array. | |
Public Attributes | |
bool | ChannelEnable |
uint16_t | Length |
EC_BitPos | LogicalEndBit |
uint32_t | LogicalStartAddress |
EC_BitPos | LogicalStartBit |
uint16_t | PhysicalStartAddress |
EC_BitPos | PhysicalStartBit |
bool | ReadEnable |
bool | WriteEnable |
EtherCAT FMMU.
Definition at line 578 of file ethercat_slave_memory.h.
EC_FMMU::EC_FMMU | ( | uint32_t | logical_start_address = 0x00000000 , |
uint16_t | length = 0x0000 , |
||
EC_BitPos | logical_start_bit = 0x00 , |
||
EC_BitPos | logical_end_bit = 0x00 , |
||
uint16_t | physical_start_address = 0x0000 , |
||
EC_BitPos | physical_start_bit = 0x00 , |
||
bool | read_enable = false , |
||
bool | write_enable = false , |
||
bool | channel_enable = false |
||
) |
Constructor (see spec for params)
EC_FMMU::EC_FMMU | ( | const unsigned char * | a_buffer | ) |
Constructor: build from data array.
virtual unsigned char* EC_FMMU::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 608 of file ethercat_slave_memory.h.
uint16_t EC_FMMU::Length |
Definition at line 597 of file ethercat_slave_memory.h.
Definition at line 600 of file ethercat_slave_memory.h.
uint32_t EC_FMMU::LogicalStartAddress |
Definition at line 596 of file ethercat_slave_memory.h.
Definition at line 598 of file ethercat_slave_memory.h.
uint16_t EC_FMMU::PhysicalStartAddress |
Definition at line 602 of file ethercat_slave_memory.h.
Definition at line 603 of file ethercat_slave_memory.h.
bool EC_FMMU::ReadEnable |
Definition at line 605 of file ethercat_slave_memory.h.
bool EC_FMMU::WriteEnable |
Definition at line 606 of file ethercat_slave_memory.h.