Functions
ethercatprint.h File Reference

Headerfile for ethercatprint.c. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * ec_ALstatuscode2string (uint16 ALstatuscode)
 
char * ec_mbxerror2string (uint16 errorcode)
 
char * ec_sdoerror2string (uint32 sdoerrorcode)
 
char * ec_soeerror2string (uint16 errorcode)
 
char * ecx_elist2string (ecx_contextt *context)
 
char * ecx_err2string (const ec_errort Ec)
 

Detailed Description

Headerfile for ethercatprint.c.

Definition in file ethercatprint.h.

Function Documentation

char* ec_ALstatuscode2string ( uint16  ALstatuscode)

Look up text string that belongs to AL status code.

Parameters
[in]ALstatuscode= AL status code as defined in EtherCAT protocol
Returns
readable string

Definition at line 245 of file ethercatprint.c.

char* ec_mbxerror2string ( uint16  errorcode)

Look up text string that belongs to MBX error code.

Parameters
[in]errorcode= MBX error code as defined in EtherCAT protocol
Returns
readable string

Definition at line 281 of file ethercatprint.c.

char* ec_sdoerror2string ( uint32  sdoerrorcode)

Look up text string that belongs to SDO error code.

Parameters
[in]sdoerrorcode= SDO error code as defined in EtherCAT protocol
Returns
readable string

Definition at line 227 of file ethercatprint.c.

char* ec_soeerror2string ( uint16  errorcode)

Look up text string that belongs to SoE error code.

Parameters
[in]errorcode= SoE error code as defined in EtherCAT protocol
Returns
readable string

Definition at line 263 of file ethercatprint.c.

char* ecx_elist2string ( ecx_contextt context)

Look up error in ec_errorlist and convert to text string.

Parameters
[in]context= context struct
Returns
readable string

Definition at line 356 of file ethercatprint.c.

char* ecx_err2string ( const ec_errort  Ec)

Convert an error to text string.

Parameters
[in]Ec= Struct describing the error.
Returns
readable string

Definition at line 299 of file ethercatprint.c.



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