I am working with DPS310 with I2C communication.
The datasheet of my sensor says that temperature value is stored in 24bit 2's complement format.
my question is that will it be signed value or unsigned values?
I assumed unsigned and make my code. for 2's complement conversion to the original value, I used value^0xffffff. and then add 1 to it. Is it the right procedure for data stored in int data type?
currently, I have a very large value of temperature which is impossible.