File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
targets/TARGET_STM/TARGET_STM32U0 Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ extern "C" {
2525#include "cmsis_nvic.h"
2626
2727
28- #define TIM_MST TIM3
29- #define TIM_MST_IRQ TIM3_IRQn
30- #define TIM_MST_RCC __TIM3_CLK_ENABLE ()
31- #define TIM_MST_DBGMCU_FREEZE __HAL_DBGMCU_FREEZE_TIM3 ()
28+ #define TIM_MST TIM2
29+ #define TIM_MST_IRQ TIM2_IRQn
30+ #define TIM_MST_RCC __TIM2_CLK_ENABLE ()
31+ #define TIM_MST_DBGMCU_FREEZE __HAL_DBGMCU_FREEZE_TIM2 ()
3232
33- #define TIM_MST_RESET_ON __TIM3_FORCE_RESET ()
34- #define TIM_MST_RESET_OFF __TIM3_RELEASE_RESET ()
33+ #define TIM_MST_RESET_ON __TIM2_FORCE_RESET ()
34+ #define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET ()
3535
36- #define TIM_MST_BIT_WIDTH 16 // 16 or 32
36+ #define TIM_MST_BIT_WIDTH 32 // 16 or 32
3737
3838#define TIM_MST_PCLK 1 // Select the peripheral clock number (1 or 2)*/
3939
You can’t perform that action at this time.
0 commit comments