AB&T / SOEM

Dependents:   EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ethercatfoe.h Source File

ethercatfoe.h

Go to the documentation of this file.
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 ethercatfoe.c
00009  */
00010 
00011 #ifndef _ethercatfoe_
00012 #define _ethercatfoe_
00013 
00014 #ifdef __cplusplus
00015 extern "C"
00016 {
00017 #endif
00018 
00019 #ifdef EC_VER1
00020 int ec_FOEdefinehook(void *hook);
00021 int ec_FOEread(uint16 slave, char *filename, uint32 password, int *psize, void *p, int timeout);
00022 int ec_FOEwrite(uint16 slave, char *filename, uint32 password, int psize, void *p, int timeout);
00023 #endif
00024 
00025 int ecx_FOEdefinehook(ecx_contextt *context, void *hook);
00026 int ecx_FOEread(ecx_contextt *context, uint16 slave, char *filename, uint32 password, int *psize, void *p, int timeout);
00027 int ecx_FOEwrite(ecx_contextt *context, uint16 slave, char *filename, uint32 password, int psize, void *p, int timeout);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032 
00033 #endif