rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::RegisterValue Struct Reference

Index/value tuple of a register type. More...

#include <rodbus.hpp>

Public Member Functions

 RegisterValue (uint16_t index, uint16_t value)
 Fully construct RegisterValue specifying the value of each field. More...
 

Public Attributes

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

Friends

class CppRegisterValueFriend
 

Detailed Description

Index/value tuple of a register type.

Constructor & Destructor Documentation

◆ RegisterValue()

rodbus::RegisterValue::RegisterValue ( uint16_t  index,
uint16_t  value 
)

Fully construct RegisterValue specifying the value of each field.

Parameters
indexIndex of register
valueValue of the register
Returns
New instance of RegisterValue

Member Data Documentation

◆ index

uint16_t rodbus::RegisterValue::index

Index of register.

◆ value

uint16_t rodbus::RegisterValue::value

Value of the register.


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