Associate
January 29, 2024
Solved
Integer types u_int32_t and uint32_t
- January 29, 2024
- 1 reply
- 3894 views
Hello
The types u_intXX_t and uintXX_t are both used to represent unsigned integers of a specific size. However, uintXX_t is from the C standard library and u_intXX_t is not part of the standard C library, and its definition varies depending on the platform and compiler being used.
The STM32CubeIDE is based on the C standard library, which is why uint32_t works well. The u_int32_t might not be recognized because it's not included in the standard library used by STM32CubeIDE.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.