libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
|
SOCK_RAW hardware access functions. More...
Go to the source code of this file.
Data Structures | |
struct | hw_sock_raw_mmaped |
Typedefs | |
typedef struct hw_sock_raw_mmaped | hw_sock_raw_mmaped_t |
Functions | |
int | hw_device_sock_raw_mmaped_open (struct hw_sock_raw_mmaped *phw_sock_raw_mmaped, ec_t *pec, const osal_char_t *devname, int prio, int cpumask) |
Opens EtherCAT hw device. | |
SOCK_RAW hardware access functions.
int hw_device_sock_raw_mmaped_open | ( | struct hw_sock_raw_mmaped * | phw_sock_raw_mmaped, |
ec_t * | pec, | ||
const osal_char_t * | devname, | ||
int | prio, | ||
int | cpumask | ||
) |
Opens EtherCAT hw device.
[in] | phw_sock_raw_mmaped | Pointer to sock_raw_mmmaped hw handle. |
[in] | pec | Pointer to master struct. |
[in] | devname | Null-terminated string to EtherCAT hw device name. |
[in] | prio | Priority for receiver thread. |
[in] | cpu_mask | CPU mask for receiver thread. |