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
int ec_reconfig_slave(uint16 slave, int timeout)
int ecx_reconfig_slave(ecx_contextt *context, uint16 slave, int timeout)
uint8_t uint8
Definition: osal.h:28
int ec_recover_slave(uint16 slave, int timeout)
uint16_t uint16
Definition: osal.h:29
int ec_config_overlap(uint8 usetable, void *pIOmap)
int ecx_recover_slave(ecx_contextt *context, uint16 slave, int timeout)
int ec_config_map(void *pIOmap)
int ec_config_overlap_map(void *pIOmap)
int ecx_config_init(ecx_contextt *context, uint8 usetable)
int ecx_config_map_group(ecx_contextt *context, void *pIOmap, uint8 group)
int ec_config_overlap_map_group(void *pIOmap, uint8 group)
int slave
Definition: aliastool.c:44
int ecx_config_overlap_map_group(ecx_contextt *context, void *pIOmap, uint8 group)
int ec_config(uint8 usetable, void *pIOmap)
int ec_config_init(uint8 usetable)
int ec_config_map_group(void *pIOmap, uint8 group)


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Mon Feb 28 2022 23:46:57