2018-04-17 2:54 AM
I'm using the Low Level driver files targetting an STM32F7xx.
I would like to know which file contains the typedefs of uint8_t, uint16_t etc?
My header file has a function prototype for example, void Usart3_DMATx(uint8_t * pSrc, uint16_t ByteCount); and I want to avoid an 'unknown type name 'uint8_t' ' error.
What file do I &sharpinclude that contains the typedefs please?
#keil #typedef #include2018-04-17 3:27 AM
<stdint.h>
It has nothing to do with LL, it's a standard header required by C99.
JW
2018-04-17 3:38 AM
Hi Jan, Thanks. I had found the typedefs in stdint but wasn't certain that was the 'best' file to include. In the Standard Peripheral 'Library', it was all hidden behind one include :
#include 'stm32f4xx.h' //CMSIS Cortex-M4 Device Peripheral Access Layer Header File.
At least that seemed to always work ... John F.