82 datagramP->command = com;
83 datagramP->index = idx;
84 datagramP->ADP =
htoes(ADP);
85 datagramP->ADO =
htoes(ADO);
86 datagramP->dlength =
htoes(length);
129 datagramP->command = com;
130 datagramP->index = idx;
131 datagramP->ADP =
htoes(ADP);
132 datagramP->ADO =
htoes(ADO);
141 datagramP->dlength =
htoes(length);
313 ecx_APRD(port, ADP, ADO,
sizeof(w), &w, timeout);
358 ecx_FPRD(port, ADP, ADO,
sizeof(w), &w, timeout);
396 return ecx_APWR(port, ADP, ADO,
sizeof(data), &data, timeout);
433 return ecx_FPWR(port, ADP, ADO,
sizeof(data), &data, timeout);
540 memcpy(&DCtE, &(port->
rxbuf[idx][DCtO]),
sizeof(*DCtime));
589 ec_APRD(ADP, ADO,
sizeof(w), &w, timeout);
604 ec_FPRD(ADP, ADO,
sizeof(w), &w, timeout);
615 return ec_APWR(ADP, ADO,
sizeof(data), &data, timeout);
625 return ec_FPWR(ADP, ADO,
sizeof(data), &data, timeout);
int ecx_adddatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data)
int ecx_getindex(ecx_portt *port)
uint16 ec_APRDw(uint16 ADP, uint16 ADO, int timeout)
int ec_APWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_FPRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_APRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int txbuflength[EC_MAXBUF]
int ec_FRMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_LWR(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
int ecx_LRWDC(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
int ec_ARMW(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_APWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
int ecx_FPWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int timeout)
int ecx_FPWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_LWR(uint32 LogAdr, uint16 length, void *data, int timeout)
#define EC_DATAGRAMFOLLOWS
int ecx_setupdatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
int ecx_APWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
General typedefs and defines for EtherCAT.
int ecx_FPRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_LRW(uint32 LogAdr, uint16 length, void *data, int timeout)
int ecx_BRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_BRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_FRMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
PACKED_BEGIN struct PACKED ec_comt
int ecx_BWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_APRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_LRD(uint32 LogAdr, uint16 length, void *data, int timeout)
int ecx_LRD(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
int ec_FPWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Headerfile for ethercatbase.c.
int ec_APWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
int ec_BWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
uint16 ecx_FPRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
int ec_LRWDC(uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
uint16 ecx_APRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
int ec_FPWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
uint16 ec_FPRDw(uint16 ADP, uint16 ADO, int timeout)
int ecx_LRW(ecx_portt *port, uint32 LogAdr, uint16 length, void *data, int timeout)
int ec_adddatagram(void *frame, uint8 com, uint8 idx, boolean more, uint16 ADP, uint16 ADO, uint16 length, void *data)
void ecx_setbufstat(ecx_portt *port, int idx, int bufstat)
int ec_setupdatagram(void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
int ecx_ARMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_srconfirm(ecx_portt *port, int idx, int timeout)