We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5db87 commit bac5903Copy full SHA for bac5903
targets/TARGET_STM/TARGET_STM32G4/us_ticker_data.h
@@ -23,13 +23,13 @@
23
#include "stm32g4xx_ll_tim.h"
24
#include "cmsis_nvic.h"
25
26
-#define TIM_MST TIM2
27
-#define TIM_MST_IRQ TIM2_IRQn
28
-#define TIM_MST_RCC __TIM2_CLK_ENABLE()
29
-#define TIM_MST_DBGMCU_FREEZE __HAL_DBGMCU_FREEZE_TIM2()
+#define TIM_MST TIM5
+#define TIM_MST_IRQ TIM5_IRQn
+#define TIM_MST_RCC __TIM5_CLK_ENABLE()
+#define TIM_MST_DBGMCU_FREEZE __HAL_DBGMCU_FREEZE_TIM5()
30
31
-#define TIM_MST_RESET_ON __TIM2_FORCE_RESET()
32
-#define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET()
+#define TIM_MST_RESET_ON __TIM5_FORCE_RESET()
+#define TIM_MST_RESET_OFF __TIM5_RELEASE_RESET()
33
34
#define TIM_MST_BIT_WIDTH 32 // 16 or 32
35
0 commit comments