liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Contains arguments for the register callback function. More...
#include <slave.h>
Data Fields | |
ModbusDataType | type |
Type of accessed data. | |
ModbusRegisterQuery | query |
Type of request made to the register. | |
uint16_t | index |
Index of the register. | |
uint16_t | value |
Value of the register. | |
uint8_t | function |
Function accessing the register. | |
Contains arguments for the register callback function.
uint8_t ModbusRegisterCallbackArgs::function |
Function accessing the register.
uint16_t ModbusRegisterCallbackArgs::index |
Index of the register.
ModbusRegisterQuery ModbusRegisterCallbackArgs::query |
Type of request made to the register.
ModbusDataType ModbusRegisterCallbackArgs::type |
Type of accessed data.
uint16_t ModbusRegisterCallbackArgs::value |
Value of the register.