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
ec_ARMW
int ec_ARMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:564
ec_FPWR
int ec_FPWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:608
ec_adddatagram
int ec_adddatagram(void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:544
ecx_BWR
int ecx_BWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:158
ecx_ARMW
int ecx_ARMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:245
ec_APWRw
int ec_APWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:603
ec_FRMW
int ec_FRMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:569
ecx_APWRw
int ecx_APWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:384
data
uint32 data
Definition: linux/firm_update/firm_update.c:27
ec_APWR
int ec_APWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:598
ec_APRDw
uint16 ec_APRDw(uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:574
uint32
uint32_t uint32
Definition: osal.h:30
ecx_LRW
int ecx_LRW(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:435
ecx_FPRDw
uint16 ecx_FPRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:343
int64
int64_t int64
Definition: osal.h:31
ecx_LRWDC
int ecx_LRWDC(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
Definition: ethercatbase.c:512
ecx_adddatagram
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
ecx_FPRD
int ecx_FPRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:318
uint8
uint8_t uint8
Definition: osal.h:28
ec_APRD
int ec_APRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:559
ecx_APWR
int ecx_APWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:362
ecx_LWR
int ecx_LWR(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:487
ec_FPRD
int ec_FPRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:584
ecx_setupdatagram
int ecx_setupdatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:68
ecx_FPWRw
int ecx_FPWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:421
ec_BRD
int ec_BRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:554
ec_LRD
int ec_LRD(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:623
ecx_APRD
int ecx_APRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:217
uint16
uint16_t uint16
Definition: osal.h:29
ec_LRWDC
int ec_LRWDC(uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
Definition: ethercatbase.c:633
ecx_LRD
int ecx_LRD(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:461
ec_BWR
int ec_BWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:549
ecx_FPWR
int ecx_FPWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:399
ecx_portt
Definition: erika/nicdrv.h:53
ecx_APRDw
uint16 ecx_APRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:298
ec_LRW
int ec_LRW(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:618
ec_FPRDw
uint16 ec_FPRDw(uint16 ADP, uint16 ADO, int timeout)
Definition: ethercatbase.c:589
ec_setupdatagram
int ec_setupdatagram(void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
Definition: ethercatbase.c:539
ecx_BRD
int ecx_BRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:185
ec_FPWRw
int ec_FPWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
Definition: ethercatbase.c:613
ecx_FRMW
int ecx_FRMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:273
ec_LWR
int ec_LWR(uint32 LogAdr, uint16 length, void *data, int timeout)
Definition: ethercatbase.c:628


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