Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB
ethercatprint.h File Reference
Headerfile for ethercatprint.c. More...
Go to the source code of this file.
Functions | |
char * | ec_sdoerror2string (uint32 sdoerrorcode) |
Look up text string that belongs to SDO error code. | |
char * | ec_ALstatuscode2string (uint16 ALstatuscode) |
Look up text string that belongs to AL status code. | |
char * | ec_soeerror2string (uint16 errorcode) |
Look up text string that belongs to SoE error code. | |
char * | ecx_elist2string (ecx_contextt *context) |
Look up error in ec_errorlist and convert to text string. |
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_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 299 of file ethercatprint.c.
Generated on Tue Jul 12 2022 18:21:14 by
