cancel
Showing results for 
Search instead for 
Did you mean: 

Using LL which file has the typedefs for uint8_t etc?

John F.
Senior
Posted on April 17, 2018 at 11:54

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 #include
2 REPLIES 2
Posted on April 17, 2018 at 12:27

<stdint.h>

It has nothing to do with LL, it's a standard header required by C99.

JW

John F.
Senior
Posted on April 17, 2018 at 12:38

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.