Debian Codegraph @

docs/modbus_set_bits_from_byte.md

raw symbols SCIP
1 # modbus_set_bits_from_byte
2
3 ## Name
4
5 modbus_set_bits_from_byte - set many bits from a single byte value
6
7
8 ## Synopsis
9
10 ```c
11 void modbus_set_bits_from_byte(uint8_t *dest, int index, const uint8_t value);
12 ```
13
14 ## Description
15
16 The *modbus_set_bits_from_byte()* function shall set many bits from a single
17 byte. All 8 bits from the byte `value` will be written to `dest` array starting
18 at `index` position.
19
20 ## Return value
21
22 There is no return value.
23
24 ## See also
25
26 - [modbus_get_byte_from_bits](modbus_get_byte_from_bits.md)
27 - [modbus_set_bits_from_bytes](modbus_set_bits_from_bytes.md)