|
liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Debug utilities (implementation) More...
#include "debug.h"
Include dependency graph for debug.impl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | ESTR(x) |
| Defines a field in array holding name of the enum value. | |
| #define | ECASE(x) |
| Defines a case halding enum value, returning the name of the enum value. | |
Functions | |
| const char * | modbusErrorStr (ModbusError err) |
| Returns a string containing the name of the ModbusError value. | |
| const char * | modbusErrorSourceStr (uint8_t src) |
| Returns a string containing the name error source. | |
| const char * | modbusExceptionCodeStr (ModbusExceptionCode code) |
| Returns a string containing the name of the ModbusExceptionCode enum value. | |
| const char * | modbusDataTypeStr (ModbusDataType type) |
| Returns a string containing the name of the ModbusDataType enum value. | |
| const char * | modbusRegisterQueryStr (ModbusRegisterQuery query) |
| Returns a string containing the name of the ModbusRegisterQuery enum value. | |
Debug utilities (implementation)
| #define ECASE | ( | x | ) |
Defines a case halding enum value, returning the name of the enum value.
| #define ESTR | ( | x | ) |
Defines a field in array holding name of the enum value.
| const char * modbusDataTypeStr | ( | ModbusDataType | type | ) |
Returns a string containing the name of the ModbusDataType enum value.
| const char * modbusErrorSourceStr | ( | uint8_t | src | ) |
Returns a string containing the name error source.
| const char * modbusErrorStr | ( | ModbusError | err | ) |
Returns a string containing the name of the ModbusError value.
Here is the caller graph for this function:| const char * modbusExceptionCodeStr | ( | ModbusExceptionCode | code | ) |
Returns a string containing the name of the ModbusExceptionCode enum value.
| const char * modbusRegisterQueryStr | ( | ModbusRegisterQuery | query | ) |
Returns a string containing the name of the ModbusRegisterQuery enum value.