Debian Codegraph @

docs/modbus_set_float_dcba.md

raw symbols SCIP
1 # modbus_set_float_dcba
2
3 ## Name
4
5 modbus_set_float_dcba - set a float value in 2 registers using DCBA byte order
6
7 ## Synopsis
8
9 ```c
10 void modbus_set_float_dcba(float f, uint16_t *dest);
11 ```
12
13 ## Description
14
15 The *modbus_set_float_dcba()* function shall set a float to 4 bytes in inverted
16 Modbus format (DCBA order). The `dest` array must be pointer on two 16 bits
17 values to be able to store the full result of the conversion.
18
19 ## Return value
20
21 There is no return values.
22
23 ## See also
24
25 - [modbus_get_float_dcba](modbus_get_float_dcba.md)
26 - [modbus_set_float](modbus_set_float.md)
27 - [modbus_get_float](modbus_get_float.md)