40#ifndef LIBETHERCAT_HW_PIKEOS_H
41#define LIBETHERCAT_HW_PIKEOS_H
43#include <libosal/task.h>
77 int prio,
int cpumask);
hardware access functions
int hw_device_pikeos_open(struct hw_pikeos *phw, ec_t *pec, const osal_char_t *devname, int prio, int cpumask)
Opens EtherCAT hw device.
ethercat master structure
Definition ec.h:192
hardware structure
Definition hw.h:121
struct ec * pec
Pointer to EtherCAT master structure.
Definition hw.h:122
Definition hw_pikeos.h:46
drv_sbuf_desc_t sbuf
Driver SBUF descriptor.
Definition hw_pikeos.h:52
osal_uint8_t send_frame[ETH_FRAME_LEN]
Static send frame.
Definition hw_pikeos.h:54
int rxthreadrunning
receiver thread running flag
Definition hw_pikeos.h:59
vm_file_desc_t fd
Driver file descriptor.
Definition hw_pikeos.h:51
osal_task_t rxthread
receiver thread handle
Definition hw_pikeos.h:58
osal_uint8_t recv_frame[ETH_FRAME_LEN]
Static receive frame.
Definition hw_pikeos.h:55