2025-02-14 10:00 AM
Hi,
can someone help me ? I do not know how to use "HAL_TIM_RegisterCallback" function.
My unsuccessful trial is in attachments. Can someone correct it ? + to attach the corrected version ?
I tried this example: https://deepbluembedded.com/stm32-timer-interrupt-hal-example-timer-mode-lab/
and it is working ok, but this example:
https://community.st.com/t5/stm32-mcus/how-to-use-register-callbacks-in-stm32/ta-p/580499
is not working - see screenshot below. .
Solved! Go to Solution.
2025-02-14 10:50 AM - edited 2025-02-14 10:52 AM
Hi,
did you enable the callbacks, you want to use ? (in Cube -> project settings)
+
read
https://community.st.com/t5/stm32-mcus/how-to-use-register-callbacks-in-stm32/ta-p/580499
2025-02-14 10:50 AM - edited 2025-02-14 10:52 AM
Hi,
did you enable the callbacks, you want to use ? (in Cube -> project settings)
+
read
https://community.st.com/t5/stm32-mcus/how-to-use-register-callbacks-in-stm32/ta-p/580499
2025-02-14 12:19 PM
Wou, it is working. Thanks.