modbus_set_float_abcd.txt 763 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. modbus_set_float_abcd(3)
  2. ========================
  3. NAME
  4. ----
  5. modbus_set_float_abcd - set a float value in 2 registers using ABCD byte order
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_float_abcd(float 'f', uint16_t *'dest');*
  9. DESCRIPTION
  10. -----------
  11. The *modbus_set_float_abcd()* function shall set a float to 4 bytes in usual
  12. Modbus format. The _dest_ array must be pointer on two 16 bits values to be able
  13. 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_abcd[3]
  20. linkmb:modbus_set_float_badc[3]
  21. linkmb:modbus_set_float_cdab[3]
  22. linkmb:modbus_set_float_dcba[3]
  23. AUTHORS
  24. -------
  25. The libmodbus documentation was written by Stéphane Raimbault
  26. <stephane.raimbault@gmail.com>