libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
Loading...
Searching...
No Matches
hw_pikeos.h File Reference

PIKEOS device hardware access functions. More...

#include <libethercat/hw.h>

Go to the source code of this file.

Data Structures

struct  hw_pikeos
 

Typedefs

typedef struct hw_pikeos hw_pikeos_t
 

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.
 

Detailed Description

PIKEOS device hardware access functions.

Author
Robert Burger rober.nosp@m.t.bu.nosp@m.rger@.nosp@m.dlr..nosp@m.de
Date
24 Nov 2016

Function Documentation

◆ hw_device_pikeos_open()

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.

Parameters
[in]phwPointer to hw handle.
[in]pecPointer to master struct.
[in]devnameNull-terminated string to EtherCAT hw device name.
[in]prioPriority for receiver thread.
[in]cpu_maskCPU mask for receiver thread.
Returns
0 or negative error code