1MODBUS_SET_BITS_FROM(3) libmodbus Manual MODBUS_SET_BITS_FROM(3)
2
3
4
6 modbus_set_bits_from_bytes - set many bits from an array of bytes
7
9 void modbus_set_bits_from_bytes(uint8_t *dest, int index, unsigned int
10 nb_bits, const uint8_t *tab_byte);
11
13 The modbus_set_bits_from_bytes function shall set bits by reading an
14 array of bytes. All the bits of the bytes read from the first position
15 of the array tab_byte are written as bits in the dest array starting at
16 position index.
17
19 There is no return values.
20
22 modbus_set_bits_from_byte(3) modbus_get_byte_from_bits(3)
23
25 The libmodbus documentation was written by Stéphane Raimbault
26 <stephane.raimbault@gmail.com>
27
28
29
30libmodbus v3.1.6 02/04/2022 MODBUS_SET_BITS_FROM(3)