1MODBUS_SET_FLOAT_DCB(3)        libmodbus Manual        MODBUS_SET_FLOAT_DCB(3)
2
3
4

NAME

6       modbus_set_float_dcba - set a float value in 2 registers using DCBA
7       byte order
8

SYNOPSIS

10       void modbus_set_float_dcba(float f, uint16_t *dest);
11

DESCRIPTION

13       The modbus_set_float_dcba() function shall set a float to 4 bytes in
14       inverted Modbus format (DCBA order). The dest array must be pointer on
15       two 16 bits values to be able to store the full result of the
16       conversion.
17

RETURN VALUE

19       There is no return values.
20

SEE ALSO

22       modbus_get_float_dcba(3) modbus_set_float(3) modbus_get_float(3)
23

AUTHORS

25       The libmodbus documentation was written by Stéphane Raimbault
26       <stephane.raimbault@gmail.com>
27
28
29
30libmodbus v3.1.7                  07/20/2023           MODBUS_SET_FLOAT_DCB(3)
Impressum