Error report functions ... at this point. More...
#include <cd_error.h>Go to the source code of this file.
Data Structures | |
| struct | cd_error_list_t |
Functions | |
| const char * | cd_ErrorStr (uint8_t error_code) |
| Returns an human-readable string based on the given cd_error code. | |
Variables | |
| struct cd_error_list_t | cd_error_list [] |
Error report functions ... at this point.
This module implements functions to obtain an human-readable string explain the meaning of each cd_error code
Definition in file cd_error.c.
| const char* cd_ErrorStr | ( | uint8_t | error_code | ) |
Returns an human-readable string based on the given cd_error code.
| error_code | value to be translated to the equivalent string |
Definition at line 41 of file cd_error.c.
| struct cd_error_list_t cd_error_list[] |
{
{CD_Error_NoError, "No error."},
{CD_Error_DAQBadSubdevice, "The specified subdevice number is not correct"},
{CD_Error_BadValue, "The specified parameter value is not correct."},
{CD_Error_DAQBadLine,"The specified input/output line is not correct or does not exist."},
{CD_Error_UnableToOpenLink," Error configuring the master-slave link"},
{CD_Error_LinkNotReady, "The loink is not ready"},
{CD_Error_Timeout,"Timeout waiting response"},
{CD_Error_UnimplementedError, "Error not implemented yet or erroneous code"}
}
Definition at line 20 of file cd_error.c.
1.6.3