Go to the documentation of this file.
47 memset(datagramdata, 0, length);
50 memcpy(datagramdata,
data, length);
78 datagramP->command = com;
79 datagramP->index = idx;
80 datagramP->ADP =
htoes(ADP);
81 datagramP->ADO =
htoes(ADO);
82 datagramP->dlength =
htoes(length);
122 datagramP->command = com;
123 datagramP->index = idx;
124 datagramP->ADP =
htoes(ADP);
125 datagramP->ADO =
htoes(ADO);
134 datagramP->dlength =
htoes(length);
303 ecx_APRD(port, ADP, ADO,
sizeof(w), &w, timeout);
348 ecx_FPRD(port, ADP, ADO,
sizeof(w), &w, timeout);
530 memcpy(&DCtE, &(port->
rxbuf[idx][DCtO]),
sizeof(*DCtime));
579 ec_APRD(ADP, ADO,
sizeof(w), &w, timeout);
594 ec_FPRD(ADP, ADO,
sizeof(w), &w, timeout);
int ecx_setupdatagram(ecx_portt *port, void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
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 ec_FPWR(uint16 ADP, uint16 ADO, 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)
int ecx_LRD(ecx_portt *port, 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_APWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
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 txbuflength[EC_MAXBUF]
int ec_APWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
uint16 ec_APRDw(uint16 ADP, uint16 ADO, int timeout)
int ecx_getindex(ecx_portt *port)
#define EC_DATAGRAMFOLLOWS
int ec_APRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
Headerfile for ethercatbase.c.
int ecx_ARMW(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
PACKED_BEGIN struct PACKED ec_comt
int ec_FPRD(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ecx_BWR(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 ec_LRD(uint32 LogAdr, uint16 length, void *data, int timeout)
int ecx_FRMW(ecx_portt *port, 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 ec_LRWDC(uint32 LogAdr, uint16 length, void *data, uint16 DCrs, int64 *DCtime, int timeout)
int ecx_APWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_BWR(uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
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_APRD(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *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)
void ecx_setbufstat(ecx_portt *port, int idx, int bufstat)
uint16 ecx_FPRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
int ec_setupdatagram(void *frame, uint8 com, uint8 idx, uint16 ADP, uint16 ADO, uint16 length, void *data)
General typedefs and defines for EtherCAT.
int ecx_FPWRw(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 data, int 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_FPWR(ecx_portt *port, uint16 ADP, uint16 ADO, uint16 length, void *data, int timeout)
int ec_FPWRw(uint16 ADP, uint16 ADO, uint16 data, int timeout)
uint16 ecx_APRDw(ecx_portt *port, uint16 ADP, uint16 ADO, int timeout)
static void ecx_writedatagramdata(void *datagramdata, ec_cmdtype com, uint16 length, const void *data)
int ecx_srconfirm(ecx_portt *port, int idx, int timeout)
int ec_LWR(uint32 LogAdr, uint16 length, void *data, int timeout)
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:48