1MODBUS_SET_BITS_FROM(3)        libmodbus Manual        MODBUS_SET_BITS_FROM(3)
2
3
4

NAME

6       modbus_set_bits_from_byte - set many bits from a single byte value
7

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

18       There is no return values.
19

SEE ALSO

21       modbus_set_bits_from_byte(3) modbus_set_bits_from_bytes(3)
22

AUTHORS

24       The libmodbus documentation was written by Stéphane Raimbault
25       <stephane.raimbault@gmail.com>
26
27
28
29libmodbus v3.1.6                  07/21/2022           MODBUS_SET_BITS_FROM(3)
Impressum