modbus_set_bits_from_byte.txt 706 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>