#include <wg_util.h>
Public Member Functions | |
| union { | |
| uint8_t raw [8] | |
| } | __attribute__ ((__packed__)) |
| bool | readData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) |
| Read data from Sync Manager. | |
Static Public Member Functions | |
| static unsigned | baseAddress (unsigned num) |
Static Public Attributes | |
| static const unsigned | BASE_ADDR = 0x800 |
| union ethercat_hardware::SyncMan::@46 ethercat_hardware::SyncMan::__attribute__ | ( | (__packed__) | ) |
| unsigned ethercat_hardware::SyncMan::baseAddress | ( | unsigned | num | ) | [static] |
Definition at line 64 of file wg_util.cpp.
| bool ethercat_hardware::SyncMan::readData | ( | EthercatCom * | com, |
| EtherCAT_SlaveHandler * | sh, | ||
| EthercatDevice::AddrMode | addrMode, | ||
| unsigned | num | ||
| ) |
Read data from Sync Manager.
| com | used to perform communication with device |
| sh | slave to read data from |
| addrMode | addressing mode used to read data (FIXED/POSITIONAL) |
| num | syncman number to read 0-7 |
Definition at line 80 of file wg_util.cpp.
const unsigned ethercat_hardware::SyncMan::BASE_ADDR = 0x800 [static] |
| uint16_t ethercat_hardware::SyncMan::length |
| uint8_t ethercat_hardware::SyncMan::raw[8] |