modbus_set_bits_from_byte(3)

modbus_set_bits_from_byte3

Set many bits from a single byte value

Usage

void modbus_set_bits_from_byte(uint8_t *dest, int index, const uint8_t value);

Overview

The modbus_set_bits_from_byte() function shall set many bits from a single byte. All 8 bits from the byte value will be written to dest array starting at index position.

Return value

There is no return values.

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12

Authors

The libmodbus documentation was written by Stéphane Raimbault <[email protected]>

From libmodbus-dev 3.1.6-2.1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.