MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
Loading...
Searching...
No Matches
mcprotocol::serial::MultiBlockWriteBlock Struct Reference

One block inside native multi-block write (1406). More...

#include <types.hpp>

Public Attributes

DeviceAddress head_device {}
 First device in this contiguous block.
 
std::uint16_t points = 0
 Point count for this block.
 
bool bit_block = false
 true when bits is used, false when words is used.
 
std::span< const std::uint16_twords {}
 Caller-owned word data for word blocks.
 
std::span< const BitValuebits {}
 Caller-owned bit data for bit blocks.
 

Detailed Description

One block inside native multi-block write (1406).

Definition at line 501 of file types.hpp.

Member Data Documentation

◆ bit_block

bool mcprotocol::serial::MultiBlockWriteBlock::bit_block = false

true when bits is used, false when words is used.

Definition at line 507 of file types.hpp.

◆ bits

std::span<const BitValue> mcprotocol::serial::MultiBlockWriteBlock::bits {}

Caller-owned bit data for bit blocks.

Definition at line 511 of file types.hpp.

◆ head_device

DeviceAddress mcprotocol::serial::MultiBlockWriteBlock::head_device {}

First device in this contiguous block.

Definition at line 503 of file types.hpp.

◆ points

std::uint16_t mcprotocol::serial::MultiBlockWriteBlock::points = 0

Point count for this block.

Definition at line 505 of file types.hpp.

◆ words

std::span<const std::uint16_t> mcprotocol::serial::MultiBlockWriteBlock::words {}

Caller-owned word data for word blocks.

Definition at line 509 of file types.hpp.


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