Why uint8_t uint16_t shows negative when value more than 127 or 32767.
Hi Everyone
I confuse about uint8_t or uint16_t on stm32cubeide. When going to debug mode the Live Expressions (tab bar) when I change format to decimal value it shows negative value if the value more than 127 for uint8_t and 32767 for uint16_t. It should be store value 0 to 255 or 0 to 65535 without sign. Is it correct?
Hex format

Dec format

Best regard
watchaphong
