40#ifndef LIBETHERCAT_HW_FILE_H
41#define LIBETHERCAT_HW_FILE_H
hardware access functions
int hw_device_file_open(struct hw_file *phw, struct ec *pec, const osal_char_t *devname, int prio, int cpu_mask)
Opens EtherCAT hw device.
ethercat master structure
Definition ec.h:188
hardware structure
Definition hw.h:123
struct ec * pec
Pointer to EtherCAT master structure.
Definition hw.h:124
int fd
file descriptor
Definition hw_file.h:48
osal_uint8_t send_frame[ETH_FRAME_LEN]
Static send frame.
Definition hw_file.h:50
osal_uint8_t recv_frame[ETH_FRAME_LEN]
Static receive frame.
Definition hw_file.h:51
osal_task_t rxthread
receiver thread handle
Definition hw_file.h:55
osal_bool_t polling_mode
Special interrupt-less polling-mode flag.
Definition hw_file.h:52
int rxthreadrunning
receiver thread running flag
Definition hw_file.h:56