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

NAME

6       modbus_set_float_abcd - set a float value in 2 registers using ABCD
7       byte order
8

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

18       There is no return values.
19

SEE ALSO

21       modbus_get_float_abcd(3) modbus_set_float_badc(3)
22       modbus_set_float_cdab(3) modbus_set_float_dcba(3)
23

AUTHORS

25       The libmodbus documentation was written by Stéphane Raimbault
26       <stephane.raimbault@gmail.com>
27
28
29
30libmodbus v3.1.6                  02/04/2022           MODBUS_SET_FLOAT_ABC(3)
Impressum