is it possible to disable HAL/Arduino handling of a specific timer interrupt? #2321
Replies: 2 comments
-
This is the CMSIS device definition (header file). When you undef in setup it is local to the cpp file (.ino). Even if you disable it globally, I do not advise as it is probably used by LL/HAL source files and CMSIS one. Finally to answer your title question, no it is not possible. The only way is to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I saw that in HardwareTimer.cpp timer-ISR are surrounded by preprocessor conditions like
#if defined(TIM2_BASE)
I tried using
#undef TIM2_BASE
in the arduino setup() functions but that did not work as hopedIs there a possibility to disable certain timers (or part of other peripheral) instead of completely disabling like with HAL_TIM_MODULE_ONLY or HAL_TIM_MODULE_DISABLED?
Beta Was this translation helpful? Give feedback.
All reactions