Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // <<< Use Configuration Wizard in Context Menu >>>
  2. // <h> Debug MCU Configuration
  3. // <o0.0> DBG_SLEEP
  4. // <i> Debug Sleep Mode
  5. // <i> 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled
  6. // <i> 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK
  7. // <o0.1> DBG_STOP
  8. // <i> Debug Stop Mode
  9. // <i> 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks
  10. // <i> 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active
  11. // <o0.2> DBG_STANDBY
  12. // <i> Debug Standby Mode
  13. // <i> 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered.
  14. // <i> 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active
  15. // <o0.8> DBG_IWDG_STOP
  16. // <i> Debug independent watchdog stopped when core is halted
  17. // <i> 0: The watchdog counter clock continues even if the core is halted
  18. // <i> 1: The watchdog counter clock is stopped when the core is halted
  19. // <o0.9> DBG_WWDG_STOP
  20. // <i> Debug window watchdog stopped when core is halted
  21. // <i> 0: The window watchdog counter clock continues even if the core is halted
  22. // <i> 1: The window watchdog counter clock is stopped when the core is halted
  23. // <o0.10> DBG_TIM1_STOP
  24. // <i> Timer 1 counter stopped when core is halted
  25. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  26. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  27. // <o0.11> DBG_TIM2_STOP
  28. // <i> Timer 2 counter stopped when core is halted
  29. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  30. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  31. // <o0.12> DBG_TIM3_STOP
  32. // <i> Timer 3 counter stopped when core is halted
  33. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  34. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  35. // <o0.13> DBG_TIM4_STOP
  36. // <i> Timer 4 counter stopped when core is halted
  37. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  38. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  39. // <o0.15> DBG_I2C1_SMBUS_TIMEOUT
  40. // <i> I2C1 SMBUS timeout mode stopped when Core is halted
  41. // <i> 0: Same behavior as in normal mode
  42. // <i> 1: The SMBUS timeout is frozen
  43. // <o0.16> DBG_I2C2_SMBUS_TIMEOUT
  44. // <i> I2C2 SMBUS timeout mode stopped when Core is halted
  45. // <i> 0: Same behavior as in normal mode
  46. // <i> 1: The SMBUS timeout is frozen
  47. // <o0.18> DBG_TIM5_STOP
  48. // <i> Timer 5 counter stopped when core is halted
  49. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  50. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  51. // <o0.19> DBG_TIM6_STOP
  52. // <i> Timer 6 counter stopped when core is halted
  53. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  54. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  55. // <o0.20> DBG_TIM7_STOP
  56. // <i> Timer 7 counter stopped when core is halted
  57. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  58. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  59. // <o0.22> DBG_TIM15_STOP
  60. // <i> Timer 15 counter stopped when core is halted
  61. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  62. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  63. // <o0.23> DBG_TIM16_STOP
  64. // <i> Timer 16 counter stopped when core is halted
  65. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  66. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  67. // <o0.24> DBG_TIM17_STOP
  68. // <i> Timer 17 counter stopped when core is halted
  69. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  70. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  71. // <o0.25> DBG_TIM12_STOP
  72. // <i> Timer 12 counter stopped when core is halted
  73. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  74. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  75. // <o0.26> DBG_TIM13_STOP
  76. // <i> Timer 13 counter stopped when core is halted
  77. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  78. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  79. // <o0.27> DBG_TIM14_STOP
  80. // <i> Timer 14 counter stopped when core is halted
  81. // <i> 0: The clock of the involved timer counter is fed even if the core is halted, and the outputs behave normally.
  82. // <i> 1: The clock of the involved timer counter is stopped when the core is halted, and the outputs are disabled (as if there were an emergency stop in response to a break event).
  83. // </h>
  84. DbgMCU_CR = 0x00000007;
  85. // <<< end of configuration section >>>