|
CuteHMI - Modbus (CuteHMI.Modbus.2)
|
1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_FUNCTIONS_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_FUNCTIONS_HPP
19 return qToBigEndian(src);
29 return qFromBigEndian(src);
39 return qToLittleEndian(src);
49 return qFromLittleEndian(src);
61 quint16 CUTEHMI_MODBUS_PRIVATE
intToUint16(
int value);
T toBigEndian(T src)
Definition: functions.hpp:13
T toLittleEndian(T src)
Definition: functions.hpp:33
quint16 CUTEHMI_MODBUS_PRIVATE int16ToUint16(qint16 value)
Store 16 bit integer as 16 bit unsigned integer.
Definition: functions.cpp:22
T fromLittleEndian(T src)
Definition: functions.hpp:43
T fromBigEndian(T src)
Definition: functions.hpp:23
quint16 CUTEHMI_MODBUS_PRIVATE intToUint16(int value)
Store integer as 16 bit unsigned integer.
Definition: functions.cpp:11
qint16 CUTEHMI_MODBUS_PRIVATE int16FromUint16(quint16 value)
Restore 16 bit integer from 16 bit unsigned integer.
Definition: functions.cpp:38