IgH EtherCAT Master  1.6.9
rtdm.h
Go to the documentation of this file.
1/*****************************************************************************
2 *
3 * Copyright (C) 2012 Florian Pose <fp@igh.de>
4 *
5 * This file is part of the IgH EtherCAT master.
6 *
7 * The IgH EtherCAT master is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as published
9 * by the Free Software Foundation; version 2 of the License.
10 *
11 * The IgH EtherCAT master is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14 * Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with the IgH EtherCAT master. If not, see <http://www.gnu.org/licenses/>.
18 *
19 ****************************************************************************/
20
24
25#ifndef __EC_RTDM_H__
26#define __EC_RTDM_H__
27
28#include "../include/ecrt.h" /* ec_master_t */
29
30/****************************************************************************/
31
32struct rtdm_device;
33
34/****************************************************************************/
35
38typedef struct ec_rtdm_dev {
40 struct rtdm_device *dev;
42
43/****************************************************************************/
44
47
48/****************************************************************************/
49
50#endif
EtherCAT master application interface.
struct ec_master ec_master_t
Definition ecrt.h:300
void ec_rtdm_dev_clear(ec_rtdm_dev_t *)
Clear an RTDM device.
Definition rtdm.c:108
struct ec_rtdm_dev ec_rtdm_dev_t
EtherCAT RTDM device.
int ec_rtdm_dev_init(ec_rtdm_dev_t *, ec_master_t *)
Initialize an RTDM device.
Definition rtdm.c:59
EtherCAT RTDM device.
Definition rtdm.h:38
ec_master_t * master
Master pointer.
Definition rtdm.h:39
struct rtdm_device * dev
RTDM device.
Definition rtdm.h:40