Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
youbot_driver
soem
ethercatdc.h
Go to the documentation of this file.
1
/*
2
* Simple Open EtherCAT Master Library
3
*
4
* File : ethercatdc.h
5
* Version : 1.3.0
6
* Date : 24-02-2013
7
* Copyright (C) 2005-2013 Speciaal Machinefabriek Ketels v.o.f.
8
* Copyright (C) 2005-2013 Arthur Ketels
9
* Copyright (C) 2008-2009 TU/e Technische Universiteit Eindhoven
10
*
11
* SOEM is free software; you can redistribute it and/or modify it under
12
* the terms of the GNU General Public License version 2 as published by the Free
13
* Software Foundation.
14
*
15
* SOEM is distributed in the hope that it will be useful, but WITHOUT ANY
16
* WARRANTY; without even the implied warranty of MERCHANTABILITY or
17
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18
* for more details.
19
*
20
* As a special exception, if other files instantiate templates or use macros
21
* or inline functions from this file, or you compile this file and link it
22
* with other works to produce a work based on this file, this file does not
23
* by itself cause the resulting work to be covered by the GNU General Public
24
* License. However the source code for this file must still be made available
25
* in accordance with section (3) of the GNU General Public License.
26
*
27
* This exception does not invalidate any other reasons why a work based on
28
* this file might be covered by the GNU General Public License.
29
*
30
* The EtherCAT Technology, the trade name and logo “EtherCAT” are the intellectual
31
* property of, and protected by Beckhoff Automation GmbH. You can use SOEM for
32
* the sole purpose of creating, using and/or selling or otherwise distributing
33
* an EtherCAT network master provided that an EtherCAT Master License is obtained
34
* from Beckhoff Automation GmbH.
35
*
36
* In case you did not receive a copy of the EtherCAT Master License along with
37
* SOEM write to Beckhoff Automation GmbH, Eiserstraße 5, D-33415 Verl, Germany
38
* (www.beckhoff.com).
39
*/
40
46
#ifndef _EC_ECATDC_H
47
#define _EC_ECATDC_H
48
49
#ifdef __cplusplus
50
extern
"C"
51
{
52
#endif
53
54
#ifdef EC_VER1
55
boolean
ec_configdc();
56
void
ec_dcsync0(
uint16
slave,
boolean
act,
uint32
CyclTime,
uint32
CyclShift);
57
void
ec_dcsync01(
uint16
slave,
boolean
act,
uint32
CyclTime0,
uint32
CyclTime1,
uint32
CyclShift);
58
#endif
59
60
boolean
ecx_configdc
(
ecx_contextt
*context);
61
void
ecx_dcsync0
(
ecx_contextt
*context,
uint16
slave,
boolean
act,
uint32
CyclTime,
uint32
CyclShift);
62
void
ecx_dcsync01
(
ecx_contextt
*context,
uint16
slave,
boolean
act,
uint32
CyclTime0,
uint32
CyclTime1,
uint32
CyclShift);
63
64
#ifdef __cplusplus
65
}
66
#endif
67
68
#endif
/* _EC_ECATDC_H */
ecx_dcsync0
void ecx_dcsync0(ecx_contextt *context, uint16 slave, boolean act, uint32 CyclTime, uint32 CyclShift)
Definition:
ethercatdc.c:70
ecx_dcsync01
void ecx_dcsync01(ecx_contextt *context, uint16 slave, boolean act, uint32 CyclTime0, uint32 CyclTime1, uint32 CyclShift)
Definition:
ethercatdc.c:123
uint16
uint16_t uint16
Definition:
osal.h:34
ecx_configdc
boolean ecx_configdc(ecx_contextt *context)
Definition:
ethercatdc.c:270
uint32
uint32_t uint32
Definition:
osal.h:35
ecx_contextt
Definition:
ethercatmain.h:413
youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:24