#include <stdint.h>
#include "ethercat_hardware/ethercat_com.h"
#include "ethercat_hardware/ethercat_device.h"
Go to the source code of this file.
Classes | |
struct | ethercat_hardware::SyncMan |
struct | ethercat_hardware::SyncManActivate |
struct | ethercat_hardware::SyncManControl |
struct | ethercat_hardware::SyncManPDIControl |
struct | ethercat_hardware::SyncManStatus |
Namespaces | |
ethercat_hardware | |
ethercat_hardware::wg_util | |
Functions | |
struct ethercat_hardware::MotorHeatingModelParameters | ethercat_hardware::__attribute__ ((__packed__)) |
struct { | |
uint8_t direction: 2 | |
uint8_t ecat_irq_enable: 1 | |
uint8_t mode: 2 | |
uint8_t pdi_irq_enable: 1 | |
uint8_t res1: 1 | |
uint8_t watchdog_enable: 1 | |
} | __attribute__ ((__packed__)) |
static unsigned | baseAddress (unsigned num) |
unsigned | ethercat_hardware::wg_util::computeChecksum (void const *data, unsigned length) |
bool | readData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) |
unsigned int | ethercat_hardware::wg_util::rotateRight8 (unsigned in) |
bool | writeData (EthercatCom *com, EtherCAT_SlaveHandler *sh, EthercatDevice::AddrMode addrMode, unsigned num) const |
Variables | |
SyncManActivate | activate |
static const unsigned | BASE_ADDR =0x806 |
uint8_t | buffer_status |
SyncManControl | control |
uint8_t | deactivate |
uint8_t | direction |
uint8_t | ecat_irq_enable |
uint8_t | ecat_latch_event |
uint8_t | enable |
uint8_t | interrupt_read |
uint8_t | interrupt_write |
uint16_t | length |
uint8_t | mailbox_status |
uint8_t | mode |
SyncManPDIControl | pdi_control |
uint8_t | pdi_irq_enable |
uint8_t | pdi_latch_event |
uint8_t | raw |
uint8_t | repeat_ack |
uint8_t | repeat_request |
uint8_t | res1 |
uint8_t | res2 |
uint8_t | res4 |
uint8_t | res6 |
uint16_t | start_addr |
SyncManStatus | status |
uint8_t | watchdog_enable |
struct @24 __attribute__::__attribute__ | ( | (__packed__) | ) |
|
static |
bool __attribute__::readData | ( | EthercatCom * | com, |
EtherCAT_SlaveHandler * | sh, | ||
EthercatDevice::AddrMode | addrMode, | ||
unsigned | num | ||
) |
bool __attribute__::writeData | ( | EthercatCom * | com, |
EtherCAT_SlaveHandler * | sh, | ||
EthercatDevice::AddrMode | addrMode, | ||
unsigned | num | ||
) | const |