liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
Loading...
Searching...
No Matches
ModbusRegisterCallbackResult Struct Reference

Contains values returned by the slave register callback. More...

#include <slave.h>

Data Fields

ModbusExceptionCode exceptionCode
 Exception to be reported.
 
uint16_t value
 Register/coil value.
 

Detailed Description

Contains values returned by the slave register callback.

Field Documentation

◆ exceptionCode

ModbusExceptionCode ModbusRegisterCallbackResult::exceptionCode

Exception to be reported.

◆ value

uint16_t ModbusRegisterCallbackResult::value

Register/coil value.


The documentation for this struct was generated from the following file: