Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB
ethercatconfig.h
00001 /* 00002 * Licensed under the GNU General Public License version 2 with exceptions. See 00003 * LICENSE file in the project root for full license information 00004 */ 00005 00006 /** \file 00007 * \brief 00008 * Headerfile for ethercatconfig.c 00009 */ 00010 00011 #ifndef _ethercatconfig_ 00012 #define _ethercatconfig_ 00013 00014 #ifdef __cplusplus 00015 extern "C" 00016 { 00017 #endif 00018 00019 #define EC_NODEOFFSET 0x1000 00020 #define EC_TEMPNODE 0xffff 00021 00022 #ifdef EC_VER1 00023 int ec_config_init(uint8 usetable); 00024 int ec_config_map(void *pIOmap); 00025 int ec_config_overlap_map(void *pIOmap); 00026 int ec_config_map_group(void *pIOmap, uint8 group); 00027 int ec_config_overlap_map_group(void *pIOmap, uint8 group); 00028 int ec_config(uint8 usetable, void *pIOmap); 00029 int ec_config_overlap(uint8 usetable, void *pIOmap); 00030 int ec_recover_slave(uint16 slave, int timeout); 00031 int ec_reconfig_slave(uint16 slave, int timeout); 00032 #endif 00033 00034 int ecx_config_init(ecx_contextt *context, uint8 usetable); 00035 int ecx_config_map_group(ecx_contextt *context, void *pIOmap, uint8 group); 00036 int ecx_config_overlap_map_group(ecx_contextt *context, void *pIOmap, uint8 group); 00037 int ecx_recover_slave(ecx_contextt *context, uint16 slave, int timeout); 00038 int ecx_reconfig_slave(ecx_contextt *context, uint16 slave, int timeout); 00039 00040 #ifdef __cplusplus 00041 } 00042 #endif 00043 00044 #endif
Generated on Tue Jul 12 2022 18:21:13 by
