ethercatbase.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 _ethercatbase_
12 #define _ethercatbase_
13 
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif
18 
19 int ecx_setupdatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data);
20 int ecx_adddatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data);
21 int ecx_BWR(ecx_portt *port, uint16 ADP,uint16 ADO,uint16 length,void *data,int timeout);
22 int ecx_BRD(ecx_portt *port, uint16 ADP,uint16 ADO,uint16 length,void *data,int timeout);
23 int ecx_APRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
24 int ecx_ARMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
25 int ecx_FRMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
26 uint16 ecx_APRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout);
27 int ecx_FPRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
28 uint16 ecx_FPRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout);
29 int ecx_APWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout);
30 int ecx_APWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
31 int ecx_FPWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout);
32 int ecx_FPWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
33 int ecx_LRW(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout);
34 int ecx_LRD(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout);
35 int ecx_LWR(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout);
36 int ecx_LRWDC(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout);
37 
38 #ifdef EC_VER1
39 int ec_setupdatagram(void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data);
40 int ec_adddatagram(void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data);
41 int ec_BWR(uint16 ADP,uint16 ADO,uint16 length,void *data,int timeout);
42 int ec_BRD(uint16 ADP,uint16 ADO,uint16 length,void *data,int timeout);
43 int ec_APRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
44 int ec_ARMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
45 int ec_FRMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
46 uint16 ec_APRDw(uint16 ADP, uint16 ADO, int timeout);
47 int ec_FPRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
48 uint16 ec_FPRDw(uint16 ADP, uint16 ADO, int timeout);
49 int ec_APWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout);
50 int ec_APWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
51 int ec_FPWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout);
52 int ec_FPWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout);
53 int ec_LRW(uint32 LogAdr, uint16 length, void *data, int timeout);
54 int ec_LRD(uint32 LogAdr, uint16 length, void *data, int timeout);
55 int ec_LWR(uint32 LogAdr, uint16 length, void *data, int timeout);
56 int ec_LRWDC(uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout);
57 #endif
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif
int ecx_FPWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:399
uint16 ec_APRDw(uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:574
int ec_APWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:598
int ec_FPRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:584
int ec_APRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:559
int ec_FRMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:569
int ecx_APWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:362
int ec_ARMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:564
uint8_t uint8
Definition: osal.h:28
int ecx_BWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:158
uint16 ecx_FPRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:343
int ecx_BRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:185
int ec_LWR(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:628
uint16_t uint16
Definition: osal.h:29
int ecx_LRD(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:461
int ecx_LRW(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:435
int ecx_LWR(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:487
int ec_LRW(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:618
int ecx_APRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:217
int ecx_LRWDC(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
Definition: ethercatbase.c:512
int ecx_adddatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:106
int ec_BRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:554
int64_t int64
Definition: osal.h:31
uint16 ecx_APRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:298
int ec_LRD(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:623
int ec_FPWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:608
int ecx_setupdatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:68
int ecx_ARMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:245
int ec_APWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:603
int ec_BWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:549
int ecx_APWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:384
uint32_t uint32
Definition: osal.h:30
int ec_LRWDC(uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
Definition: ethercatbase.c:633
int ecx_FPWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:421
int ec_FPWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:613
uint16 ec_FPRDw(uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:589
int ecx_FRMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:273
int ec_adddatagram(void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:544
int ecx_FPRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:318
int ec_setupdatagram(void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:539


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Sat Jun 27 2020 03:48:20