IgH EtherCAT Master
1.5.3
rtdm.h
Go to the documentation of this file.
1
/*****************************************************************************
2
*
3
* $Id$
4
*
5
* Copyright (C) 2012 Florian Pose <fp@igh-essen.com>
6
*
7
* This file is part of the IgH EtherCAT master.
8
*
9
* The IgH EtherCAT master is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License as published
11
* by the Free Software Foundation; version 2 of the License.
12
*
13
* The IgH EtherCAT master is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16
* Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License along
19
* with the IgH EtherCAT master. If not, see <http://www.gnu.org/licenses/>.
20
*
21
* The license mentioned above concerns the source code only. Using the
22
* EtherCAT technology and brand is only permitted in compliance with the
23
* industrial property and similar rights of Beckhoff Automation GmbH.
24
*
25
****************************************************************************/
26
31
#ifndef __EC_RTDM_H__
32
#define __EC_RTDM_H__
33
34
#include "../include/ecrt.h"
/* ec_master_t */
35
36
/*****************************************************************************/
37
38
struct
rtdm_device;
39
40
/*****************************************************************************/
41
44
typedef
struct
ec_rtdm_dev
{
45
ec_master_t
*
master
;
46
struct
rtdm_device *
dev
;
47
}
ec_rtdm_dev_t
;
48
49
/*****************************************************************************/
50
51
int
ec_rtdm_dev_init
(
ec_rtdm_dev_t
*,
ec_master_t
*);
52
void
ec_rtdm_dev_clear
(
ec_rtdm_dev_t
*);
53
54
/****************************************************************************/
55
56
#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:46
ec_rtdm_dev::master
ec_master_t * master
Master pointer.
Definition:
rtdm.h:45
ec_rtdm_dev
EtherCAT RTDM device.
Definition:
rtdm.h:44
ec_rtdm_dev_init
int ec_rtdm_dev_init(ec_rtdm_dev_t *, ec_master_t *)
Initialize an RTDM device.
Definition:
rtdm.c:69
ec_rtdm_dev_clear
void ec_rtdm_dev_clear(ec_rtdm_dev_t *)
Clear an RTDM device.
Definition:
rtdm.c:118
ec_master
EtherCAT master.
Definition:
master.h:194
Documentation automatically createt on Fri Jun 7 2024 11:28:45 by
. - IgH EtherCAT Master developed by
Ingenieurgemeinschaft IgH GmbH
. All rights reserved.