modbus_set_bits_from_bytes.txt 794 B

123456789101112131415161718192021222324252627282930313233343536
  1. modbus_set_bits_from_bytes(3)
  2. ============================
  3. NAME
  4. ----
  5. modbus_set_bits_from_bytes - set many bits from an array of bytes
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_bits_from_bytes(uint8_t *'dest', int 'index', unsigned int 'nb_bits', const uint8_t *'tab_byte');*
  9. DESCRIPTION
  10. -----------
  11. The *modbus_set_bits_from_bytes* function shall set bits by reading an array of
  12. bytes. All the bits of the bytes read from the first position of the array
  13. _tab_byte_ are written as bits in the _dest_ array starting at position _index_.
  14. RETURN VALUE
  15. ------------
  16. There is no return values.
  17. SEE ALSO
  18. --------
  19. linkmb:modbus_set_bits_from_byte[3]
  20. linkmb:modbus_get_byte_from_bits[3]
  21. AUTHORS
  22. -------
  23. The libmodbus documentation was written by Stéphane Raimbault
  24. <stephane.raimbault@gmail.com>