Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MODBUS_SET_BITS_FROM(3)	       libmodbus Manual	       MODBUS_SET_BITS_FROM(3)

NAME
       modbus_set_bits_from_bytes - set	many bits from an array	of bytes

SYNOPSIS
       void modbus_set_bits_from_bytes(uint8_t *dest, int index, unsigned int
       nb_bits,	const uint8_t *tab_byte);

DESCRIPTION
       The modbus_set_bits_from_bytes function shall set bits by reading an
       array of	bytes. All the bits of the bytes read from the first position
       of the array tab_byte are written as bits in the	dest array starting at
       position	index.

RETURN VALUE
       There is	no return values.

SEE ALSO
       modbus_set_bits_from_byte(3) modbus_get_byte_from_bits(3)

AUTHORS
       The libmodbus documentation was written by StA(C)phane Raimbault
       <stephane.raimbault@gmail.com>

libmodbus v3.1.6		  08/10/2020	       MODBUS_SET_BITS_FROM(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=modbus_set_bits_from_bytes&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help