rodbus (C API) 1.6.0-RC1
Loading...
Searching...
No Matches
rodbus_register_value_t Struct Reference

Register value and its address. More...

#include <rodbus.h>

Data Fields

uint16_t index
 Address of the register. More...
 
uint16_t value
 Value of the register. More...
 

Detailed Description

Register value and its address.

Modbus messages that carry a block of values (read responses and write multiple requests) encode a starting address and the values in address order, but not a per-value address. The library computes the index from the starting address and the value's position as a convenience.

Field Documentation

◆ index

uint16_t rodbus_register_value_t::index

Address of the register.

◆ value

uint16_t rodbus_register_value_t::value

Value of the register.


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