2024-06-15 10:33 AM
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?
Solved! Go to Solution.
2024-06-15 10:38 AM
There should be an User Manual for each family; eg,
See the Product Page for the appropriate Cube package; eg,
https://www.st.com/en/embedded-software/stm32cubef0.html#documentation
2024-06-15 10:38 AM
There should be an User Manual for each family; eg,
See the Product Page for the appropriate Cube package; eg,
https://www.st.com/en/embedded-software/stm32cubef0.html#documentation
2024-06-15 11:17 AM - edited 2024-06-15 11:19 AM
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 :
So if you want receive with INT, see there short description:
So you see: how to write, parameters , etc.
2024-06-15 11:20 AM
Thank you. This helpful.