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

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

#include <rodbus.hpp>

Public Member Functions

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

Public Attributes

uint16_t index
 Index of bit. More...
 
bool value
 Value of the bit. More...
 

Friends

class CppBitValueFriend
 

Detailed Description

Index/value tuple of a bit type.

Constructor & Destructor Documentation

◆ BitValue()

rodbus::BitValue::BitValue ( uint16_t  index,
bool  value 
)

Fully construct BitValue specifying the value of each field.

Parameters
indexIndex of bit
valueValue of the bit
Returns
New instance of BitValue

Member Data Documentation

◆ index

uint16_t rodbus::BitValue::index

Index of bit.

◆ value

bool rodbus::BitValue::value

Value of the bit.


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