ethercatconfig.h
Go to the documentation of this file.
1 /*
2  * Licensed under the GNU General Public License version 2 with exceptions. See
3  * LICENSE file in the project root for full license information
4  */
5 
11 #ifndef _ethercatconfig_
12 #define _ethercatconfig_
13 
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif
18 
19 #define EC_NODEOFFSET 0x1000
20 #define EC_TEMPNODE 0xffff
21 
22 #ifdef EC_VER1
23 int ec_config_init(uint8 usetable);
24 int ec_config_map(void *pIOmap);
25 int ec_config_overlap_map(void *pIOmap);
26 int ec_config_map_group(void *pIOmap, uint8 group);
27 int ec_config_overlap_map_group(void *pIOmap, uint8 group);
28 int ec_config(uint8 usetable, void *pIOmap);
29 int ec_config_overlap(uint8 usetable, void *pIOmap);
30 int ec_recover_slave(uint16 slave, int timeout);
31 int ec_reconfig_slave(uint16 slave, int timeout);
32 #endif
33 
34 int ecx_config_init(ecx_contextt *context, uint8 usetable);
35 int ecx_config_map_group(ecx_contextt *context, void *pIOmap, uint8 group);
36 int ecx_config_overlap_map_group(ecx_contextt *context, void *pIOmap, uint8 group);
37 int ecx_recover_slave(ecx_contextt *context, uint16 slave, int timeout);
38 int ecx_reconfig_slave(ecx_contextt *context, uint16 slave, int timeout);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif
slave
int slave
Definition: aliastool.c:44
ec_config
int ec_config(uint8 usetable, void *pIOmap)
Definition: ethercatconfig.c:1665
uint8
uint8_t uint8
Definition: osal.h:28
ec_config_init
int ec_config_init(uint8 usetable)
Definition: ethercatconfig.c:1606
ec_recover_slave
int ec_recover_slave(uint16 slave, int timeout)
Definition: ethercatconfig.c:1700
ecx_config_init
int ecx_config_init(ecx_contextt *context, uint8 usetable)
Definition: ethercatconfig.c:308
ec_config_map_group
int ec_config_map_group(void *pIOmap, uint8 group)
Definition: ethercatconfig.c:1619
ecx_config_overlap_map_group
int ecx_config_overlap_map_group(ecx_contextt *context, void *pIOmap, uint8 group)
Definition: ethercatconfig.c:1350
ec_config_overlap
int ec_config_overlap(uint8 usetable, void *pIOmap)
Definition: ethercatconfig.c:1682
ec_reconfig_slave
int ec_reconfig_slave(uint16 slave, int timeout)
Definition: ethercatconfig.c:1712
uint16
uint16_t uint16
Definition: osal.h:29
ecx_reconfig_slave
int ecx_reconfig_slave(ecx_contextt *context, uint16 slave, int timeout)
Definition: ethercatconfig.c:1551
ec_config_overlap_map_group
int ec_config_overlap_map_group(void *pIOmap, uint8 group)
Definition: ethercatconfig.c:1632
ecx_context
Definition: ethercatmain.h:384
ecx_recover_slave
int ecx_recover_slave(ecx_contextt *context, uint16 slave, int timeout)
Definition: ethercatconfig.c:1488
ec_config_overlap_map
int ec_config_overlap_map(void *pIOmap)
Definition: ethercatconfig.c:1654
ecx_config_map_group
int ecx_config_map_group(ecx_contextt *context, void *pIOmap, uint8 group)
Definition: ethercatconfig.c:1172
ec_config_map
int ec_config_map(void *pIOmap)
Definition: ethercatconfig.c:1643


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:48