Hi,
I am using TM4C129ENCPDT controller and the IDE is CCS Version: 7.4.0.00015, recently facing an issue with reading a 32 bit unsigned integer to a float variable. have tried type casting too, but unfortunately it is not working.
for example, consider the value 30.00 as in integer representation.
SP_Temperature = 0x41f00000; // 32 bit unsigned integer >> 30.00
f_SP_Temperature = (float) SP_Temperature; // f_SP_Temperature >> float, SP_Temperature >> unsigned 32 bit integer
The value of "f_SP_Temperature" is taking as decimal equivalent like "1.10624768e+09"
Please find attached screenshot of the same, any help is highly appreciated.