|
knx
ETS configurable knx-stack
|
Go to the source code of this file.
Functions | |
| uint16_t | dptToFloat (int32_t value) |
| Convert a value from uint32_t to 2 uint8_t float (DPT9/EIS5). More... | |
| int32_t | dptFromFloat (uint16_t dptValue) |
| Convert a value from 2 uint8_t float (DPT9/EIS5) to integer. More... | |
| int32_t dptFromFloat | ( | uint16_t | dptValue | ) |
Convert a value from 2 uint8_t float (DPT9/EIS5) to integer.
| dptValue | - the 2 uint8_t float (DPT9/EIS5) to convert |
Definition at line 47 of file datapoint_types.cpp.
| uint16_t dptToFloat | ( | int32_t | value | ) |
Convert a value from uint32_t to 2 uint8_t float (DPT9/EIS5).
The possible range of the values is -67108864 to 67076096.
| value | - the value to convert. Use INVALID_DPT_FLOAT for the DPT9 "invalid data" value. |
Definition at line 18 of file datapoint_types.cpp.