IgH EtherCAT Master
1.6.2
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
{
39
ec_master_t
*
master
;
40
struct
rtdm_device *
dev
;
41
}
ec_rtdm_dev_t
;
42
43
/****************************************************************************/
44
45
int
ec_rtdm_dev_init
(
ec_rtdm_dev_t
*,
ec_master_t
*);
46
void
ec_rtdm_dev_clear
(
ec_rtdm_dev_t
*);
47
48
/****************************************************************************/
49
50
#endif
ec_rtdm_dev_t
struct ec_rtdm_dev ec_rtdm_dev_t
EtherCAT RTDM device.
ec_rtdm_dev::dev
struct rtdm_device * dev
RTDM device.
Definition:
rtdm.h:40
ec_rtdm_dev::master
ec_master_t * master
Master pointer.
Definition:
rtdm.h:39
ec_rtdm_dev
EtherCAT RTDM device.
Definition:
rtdm.h:38
ec_rtdm_dev_init
int ec_rtdm_dev_init(ec_rtdm_dev_t *, ec_master_t *)
Initialize an RTDM device.
Definition:
rtdm.c:59
ec_rtdm_dev_clear
void ec_rtdm_dev_clear(ec_rtdm_dev_t *)
Clear an RTDM device.
Definition:
rtdm.c:108
ec_master
EtherCAT master.
Definition:
master.h:187
Documentation automatically created by
. - IgH EtherCAT Master developed by
Ingenieurgemeinschaft IgH GmbH
. All rights reserved.