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

Range of 16-bit addresses sent in a request from the client to the server. More...

#include <rodbus.hpp>

Public Member Functions

 AddressRange (uint16_t start, uint16_t count)
 Fully construct AddressRange specifying the value of each field. More...
 

Public Attributes

uint16_t start
 Starting address of the range. More...
 
uint16_t count
 Number of addresses in the range. More...
 

Friends

class CppAddressRangeFriend
 

Detailed Description

Range of 16-bit addresses sent in a request from the client to the server.

Constructor & Destructor Documentation

◆ AddressRange()

rodbus::AddressRange::AddressRange ( uint16_t  start,
uint16_t  count 
)

Fully construct AddressRange specifying the value of each field.

Parameters
startStarting address of the range
countNumber of addresses in the range
Returns
New instance of AddressRange

Member Data Documentation

◆ count

uint16_t rodbus::AddressRange::count

Number of addresses in the range.

◆ start

uint16_t rodbus::AddressRange::start

Starting address of the range.


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