Debian Codegraph @

docs/modbus_set_float_abcd.md

raw symbols SCIP
1 # modbus_set_float_abcd
2
3 ## Name
4
5 modbus_set_float_abcd - set a float value in 2 registers using ABCD byte order
6
7 ## Synopsis
8
9 ```c
10 void modbus_set_float_abcd(float f, uint16_t *dest);
11 ```
12
13 ## Description
14
15 The *modbus_set_float_abcd()* function shall set a float to 4 bytes in usual
16 Modbus format. The `dest` array must be pointer on two 16 bits values to be able
17 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_abcd](modbus_get_float_abcd.md)
26 - [modbus_set_float_badc](modbus_set_float_badc.md)
27 - [modbus_set_float_cdab](modbus_set_float_cdab.md)
28 - [modbus_set_float_dcba](modbus_set_float_dcba.md)