cancel
Showing results for 
Search instead for 
Did you mean: 

Where are the HAL libraries documented?

mleo2
Associate II

I've just spent hours trying to get a DMA to trigger and interrupt when transfer is complete. I was using HAL_DMA_Start() instead of HAL_DMA_Start_IT(). I found HAL_DMA_Start_IT() by looking through the source code.

Where are the HAL libraries documented?

1 ACCEPTED SOLUTION

Accepted Solutions
3 REPLIES 3
Andrew Neil
Evangelist III
AScha.3
Chief

Right, Andrew, and just what i do:

most times you know, what you want : maybe you have set an UART in Cube, to receive something with INT mode,

then (after : generate code ! ) just open the (your project name): drivers->xxHAL..->Src-> xxhal_uart.c

and look at the possible functions :

AScha3_0-1718475261902.png

So if you want receive with INT, see there short description:

AScha3_1-1718475344187.png

So you see: how to write, parameters , etc.

If you feel a post has answered your question, please click "Accept as Solution".
mleo2
Associate II

Thank you. This helpful.