modbus_set_bits_from_byte.txt 708 B

123456789101112131415161718192021222324252627282930313233343536
  1. modbus_set_bits_from_byte(3)
  2. ============================
  3. NAME
  4. ----
  5. modbus_set_bits_from_byte - set many bits from a single byte value
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_bits_from_byte(uint8_t *'dest', int 'index', const uint8_t 'value');*
  9. DESCRIPTION
  10. -----------
  11. The *modbus_set_bits_from_byte()* function shall set many bits from a single byte.
  12. All 8 bits from the byte _value_ will be written to _dest_ array starting at
  13. _index_ position.
  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_set_bits_from_bytes[3]
  21. AUTHORS
  22. -------
  23. The libmodbus documentation was written by Stéphane Raimbault
  24. <stephane.raimbault@gmail.com>