1
+ // <<< Use Configuration Wizard in Context Menu >>>
2
+
3
+ // <h>Debug MCU Configuration
4
+ // <o.0> DBG_SLEEP <i> Debug Sleep Mode
5
+ // <o.1> DBG_STOP <i> Debug Stop Mode
6
+ // <o.2> DBG_STANDBY <i> Debug Standby Mode
7
+ // </h>
8
+ DbgMCU_CR = 0x00000007;
9
+
10
+ // <h> Debug MCU APB1 Freeze
11
+ // <o.0> DBG_TIM2_STOP <i> Timer 2 Stopped when Core is halted
12
+ // <o.1> DBG_TIM3_STOP <i> Timer 3 Stopped when Core is halted
13
+ // <o.2> DBG_TIM4_STOP <i> Timer 4 Stopped when Core is halted
14
+ // <o.3> DBG_TIM5_STOP <i> Timer 5 Stopped when Core is halted
15
+ // <o.4> DBG_TIM6_STOP <i> Timer 6 Stopped when Core is halted
16
+ // <o.5> DBG_TIM7_STOP <i> Timer 7 Stopped when Core is halted
17
+ // <o.6> DBG_TIM12_STOP <i> Timer 12 Stopped when Core is halted
18
+ // <o.7> DBG_TIM13_STOP <i> Timer 13 Stopped when Core is halted
19
+ // <o.8> DBG_TIM14_STOP <i> Timer 14 Stopped when Core is halted
20
+ // <o.10> DBG_RTC_STOP <i> RTC Stopped when Core is halted
21
+ // <o.11> DBG_WWDG_STOP <i> Window Watchdog Stopped when Core is halted
22
+ // <o.12> DBG_IWDG_STOP <i> Independent Watchdog Stopped when Core is halted
23
+ // <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS Timeout Mode Stopped when Core is halted
24
+ // <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS Timeout Mode Stopped when Core is halted
25
+ // <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS Timeout Mode Stopped when Core is halted
26
+ // <o.25> DBG_CAN1_STOP <i> CAN1 Stopped when Core is halted
27
+ // <o.26> DBG_CAN2_STOP <i> CAN2 Stopped when Core is halted
28
+ // </h>
29
+ DbgMCU_APB1_Fz = 0x00000000;
30
+
31
+
32
+ // <h> Debug MCU APB2 Freeze
33
+ // <o.0> DBG_TIM1_STOP <i> Timer 1 Stopped when Core is halted
34
+ // <o.1> DBG_TIM8_STOP <i> Timer 8 Stopped when Core is halted
35
+ // <o.16> DBG_TIM9_STOP <i> Timer 9 Stopped when Core is halted
36
+ // <o.17> DBG_TIM10_STOP <i> Timer 10 Stopped when Core is halted
37
+ // <o.18> DBG_TIM11_STOP <i> Timer 11 Stopped when Core is halted
38
+ // </h>
39
+ DbgMCU_APB2_Fz = 0x00000000;
40
+
41
+ // <<< end of configuration section >>>
0 commit comments