|
liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Master device status. More...
#include <master.h>
Collaboration diagram for ModbusMaster:Data Fields | |
| ModbusDataCallback | dataCallback |
| A pointer to data callback (required) | |
| ModbusMasterExceptionCallback | exceptionCallback |
| A pointer to an exception callback (optional) | |
| const ModbusMasterFunctionHandler * | functions |
| A non-owning pointer to array of function handlers. | |
| uint8_t | functionCount |
| Size of functions array. | |
| ModbusBuffer | request |
| Stores master's request for slave. | |
| void * | context |
| User's context pointer. | |
Master device status.
| void* ModbusMaster::context |
User's context pointer.
| ModbusDataCallback ModbusMaster::dataCallback |
A pointer to data callback (required)
| ModbusMasterExceptionCallback ModbusMaster::exceptionCallback |
A pointer to an exception callback (optional)
| uint8_t ModbusMaster::functionCount |
Size of functions array.
| const ModbusMasterFunctionHandler* ModbusMaster::functions |
A non-owning pointer to array of function handlers.
| ModbusBuffer ModbusMaster::request |
Stores master's request for slave.