modbus_set_float_dcba.txt 737 B

12345678910111213141516171819202122232425262728293031323334353637
  1. modbus_set_float_dcba(3)
  2. ========================
  3. NAME
  4. ----
  5. modbus_set_float_dcba - set a float value in 2 registers using DCBA byte order
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_float_dcba(float 'f', uint16_t *'dest');*
  9. DESCRIPTION
  10. -----------
  11. The *modbus_set_float_dcba()* function shall set a float to 4 bytes in inverted
  12. Modbus format (DCBA order). The _dest_ array must be pointer on two 16 bits
  13. values to be able to store the full result of the conversion.
  14. RETURN VALUE
  15. ------------
  16. There is no return values.
  17. SEE ALSO
  18. --------
  19. linkmb:modbus_get_float_dcba[3]
  20. linkmb:modbus_set_float[3]
  21. linkmb:modbus_get_float[3]
  22. AUTHORS
  23. -------
  24. The libmodbus documentation was written by Stéphane Raimbault
  25. <stephane.raimbault@gmail.com>