can_HK32F031F4Px.dbgconf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // File: STM32F0x1_0x2_0x8.dbgconf
  2. // Version: 1.0.0
  3. // Note: refer to STM32F0x1/STM32F0x2/STM32F0x8 Reference manual (RM0091)
  4. // refer to STM32F031x4/x6, STM32F051x4/x6/x8, STM32F071x8/xB datasheets
  5. // STM32F091xB/xC, STM32F042x4/x6, STM32F072x8/xB, STM32F038x6 datasheets
  6. // STM32F048x6, STM32F058x8, STM32F078xB, STM32F098xC datasheets
  7. // <<< Use Configuration Wizard in Context Menu >>>
  8. // <h> Debug MCU configuration register (DBGMCU_CR)
  9. // <o.2> DBG_STANDBY <i> Debug standby mode
  10. // <o.1> DBG_STOP <i> Debug stop mode
  11. // </h>
  12. DbgMCU_CR = 0x00000006;
  13. // <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
  14. // <i> Reserved bits must be kept at reset value
  15. // <o.25> DBG_CAN_STOP <i> CAN stopped when core is halted
  16. // <o.21> DBG_I2C1_TIMEOUT <i> I2C1 SMBUS timeout mode stopped when core is halted
  17. // <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
  18. // <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
  19. // <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
  20. // <o.8> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
  21. // <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
  22. // <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
  23. // <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
  24. // <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
  25. // </h>
  26. DbgMCU_APB1_Fz = 0x00000000;
  27. // <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
  28. // <i> Reserved bits must be kept at reset value
  29. // <o.18> DBG_TIM17_STOP <i> TIM17 counter stopped when core is halted
  30. // <o.17> DBG_TIM16_STOP <i> TIM16 counter stopped when core is halted
  31. // <o.16> DBG_TIM15_STOP <i> TIM15 counter stopped when core is halted
  32. // <o.11> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  33. // </h>
  34. DbgMCU_APB2_Fz = 0x00000000;
  35. // <<< end of configuration section >>>