IgH EtherCAT Master  1.6.1
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 
25 #ifndef __EC_RTDM_H__
26 #define __EC_RTDM_H__
27 
28 #include "../include/ecrt.h" /* ec_master_t */
29 
30 /****************************************************************************/
31 
32 struct rtdm_device;
33 
34 /****************************************************************************/
35 
38 typedef struct ec_rtdm_dev {
40  struct rtdm_device *dev;
42 
43 /****************************************************************************/
44 
47 
48 /****************************************************************************/
49 
50 #endif
struct ec_rtdm_dev ec_rtdm_dev_t
EtherCAT RTDM device.
struct rtdm_device * dev
RTDM device.
Definition: rtdm.h:40
ec_master_t * master
Master pointer.
Definition: rtdm.h:39
EtherCAT RTDM device.
Definition: rtdm.h:38
int ec_rtdm_dev_init(ec_rtdm_dev_t *, ec_master_t *)
Initialize an RTDM device.
Definition: rtdm.c:59
void ec_rtdm_dev_clear(ec_rtdm_dev_t *)
Clear an RTDM device.
Definition: rtdm.c:108
EtherCAT master.
Definition: master.h:187