IgH EtherCAT Master  1.6.9
rtdm.h File Reference

RTDM interface. More...

Go to the source code of this file.

Data Structures

struct  ec_rtdm_dev
 EtherCAT RTDM device. More...

Typedefs

typedef struct ec_rtdm_dev ec_rtdm_dev_t
 EtherCAT RTDM device.

Functions

int ec_rtdm_dev_init (ec_rtdm_dev_t *, ec_master_t *)
 Initialize an RTDM device.
void ec_rtdm_dev_clear (ec_rtdm_dev_t *)
 Clear an RTDM device.

Detailed Description

RTDM interface.

Definition in file rtdm.h.

Function Documentation

◆ ec_rtdm_dev_init()

int ec_rtdm_dev_init ( ec_rtdm_dev_t * rtdm_dev,
ec_master_t * master )

Initialize an RTDM device.

Returns
Zero on success, otherwise a negative error code.
Parameters
rtdm_devEtherCAT RTDM device.
masterEtherCAT master.

Definition at line 59 of file rtdm.c.

◆ ec_rtdm_dev_clear()

void ec_rtdm_dev_clear ( ec_rtdm_dev_t * rtdm_dev)

Clear an RTDM device.

Parameters
rtdm_devEtherCAT RTDM device.

Definition at line 108 of file rtdm.c.