2019-05-08 12:19 PM
Hello,
I'am new on using CubeMX and HAL functions. I would like to know if interrupt callback functions, that can be use for execute some code after ISR, are executed from inside interruption scope.
I'm asking that because as a programing good pratices, code executed within interrupt routine should be as short as possible to avoid latency and nested interrupts. So, if _callback runs within interruption it should be short either.
Thanks in advance.
Solved! Go to Solution.
2019-05-08 12:23 PM
Callbacks are mainly interrupts user hooks of the corresponding ISR.
Keep callbacks content brief.
If HAL callbacks requires time optimisation, go for LL (low layer)
2019-05-08 12:23 PM
Callbacks are mainly interrupts user hooks of the corresponding ISR.
Keep callbacks content brief.
If HAL callbacks requires time optimisation, go for LL (low layer)
2019-05-13 04:18 AM
Thanks for the answer