libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
|
file/char device hardware access functions More...
#include <libethercat/hw.h>
Go to the source code of this file.
Data Structures | |
struct | hw_file |
Typedefs | |
typedef struct hw_file | hw_file_t |
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. | |
file/char device 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.
[in] | phw | Pointer to hw handle. |
[in] | devname | Null-terminated string to EtherCAT hw device name. |
[in] | prio | Priority for receiver thread. |
[in] | cpu_mask | CPU mask for receiver thread. |