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

FreeBSD Manual Pages

  
 
  

home | help
modbus_set_bits_from_bytes()			    modbus_set_bits_from_bytes()

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 ar-
     ray tab_byte are written as bits in the dest array starting at position in-
     dex.

Return value
     There is no return value.

See also
     * modbus_set_bits_from_byte <modbus_set_bits_from_byte.md>

     * modbus_get_byte_from_bits <modbus_get_byte_from_bits.md>

						    modbus_set_bits_from_bytes()

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

home | help