File: modbus_set_bits_from_byte.txt

package info (click to toggle)
libmodbus 3.0.6-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 660 kB
  • ctags: 314
  • sloc: ansic: 4,031; makefile: 145; sh: 1
file content (36 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
modbus_set_bits_from_byte(3)
============================


NAME
----
modbus_set_bits_from_byte - set many bits from a single byte value


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


DESCRIPTION
-----------
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.


SEE ALSO
--------
linkmb:modbus_set_bits_from_byte[3]
linkmb:modbus_set_bits_from_bytes[3]


AUTHORS
-------
The libmodbus documentation was written by Stéphane Raimbault
<stephane.raimbault@gmail.com>