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[1]>
27
29 1. stephane.raimbault@gmail.com
30 mailto:stephane.raimbault@gmail.com
31
32
33
34libmodbus 3.0.8 07/31/2019 MODBUS_SET_BITS_FROM(3)