MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / ModbusRegisterGroup

Class ModbusRegisterGroup

app/src/IO/Drivers/Modbus.h:42–52  ·  view source on GitHub ↗

* @brief A contiguous block of Modbus registers to poll. */

Source from the content-addressed store, hash-verified

40 * @brief A contiguous block of Modbus registers to poll.
41 */
42struct ModbusRegisterGroup {
43 quint8 registerType;
44 quint16 startAddress;
45 quint16 count;
46
47 ModbusRegisterGroup() : registerType(0), startAddress(0), count(0) {}
48
49 ModbusRegisterGroup(quint8 type, quint16 start, quint16 cnt)
50 : registerType(type), startAddress(start), count(cnt)
51 {}
52};
53
54/**
55 * @brief HAL driver for Modbus RTU and Modbus TCP communication.

Callers 1

addRegisterGroupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected