#include <wg0x.h>
Public Member Functions | |
| bool | writeData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) const |
| Write data to Sync Manager Activation register. | |
Static Public Member Functions | |
| static unsigned | baseAddress (unsigned num) |
Public Attributes | |
| union { | |
| struct { | |
| uint8_t ecat_latch_event: 1 | |
| uint8_t enable: 1 | |
| uint8_t pdi_latch_event: 1 | |
| uint8_t repeat_request: 1 | |
| uint8_t res4: 4 | |
| } __packed__ | |
| uint8_t raw | |
| } | __packed__ |
Static Public Attributes | |
| static const unsigned | BASE_ADDR = 0x806 |
Definition at line 157 of file wg0x.h.
| unsigned SyncManActivate::baseAddress | ( | unsigned | num | ) | [static] |
| bool SyncManActivate::writeData | ( | EthercatCom * | com, | |
| EtherCAT_SlaveHandler * | sh, | |||
| EthercatDevice::AddrMode | addrMode, | |||
| unsigned | num | |||
| ) | const |
Write data to Sync Manager Activation register.
| 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 |
| union { ... } SyncManActivate::__packed__ |
| struct { ... } SyncManActivate::__packed__ |
const unsigned SyncManActivate::BASE_ADDR = 0x806 [static] |
| uint8_t SyncManActivate::enable |
| uint8_t SyncManActivate::pdi_latch_event |
| uint8_t SyncManActivate::raw |
| uint8_t SyncManActivate::repeat_request |
| uint8_t SyncManActivate::res4 |