PY32F040xx.dbgconf 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // File: PY32F040xx.dbgconf
  2. // Version: 1.0.0
  3. // <<< Use Configuration Wizard in Context Menu >>>
  4. // <h> Debug MCU configuration register (DBGMCU_CR)
  5. // <o.1> DBG_STOP <i> Debug stop mode
  6. // <o.0> DBG_SLEEP <i> Debug sleep mode
  7. // </h>
  8. DbgMCU_CR = 0x00000003;
  9. // <h> Debug MCU APB freeze1 register (DBG_APB_FZ1)
  10. // <i> Reserved bits must be kept at reset value
  11. // <o.31> DBG_LPTIM_STOP <i> LPTIM stopped when core is halted
  12. // <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2_SMBUS TIMEOUT frozened when core is halted
  13. // <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1_SMBUS TIMEOUT frozened when core is halted
  14. // <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
  15. // <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
  16. // <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
  17. // <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
  18. // <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
  19. // <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
  20. // <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
  21. // </h>
  22. DbgMCU_APB_Fz1 = 0x00000000;
  23. // <h> Debug MCU APB freeze2 register (DBG_APB_FZ2)
  24. // <i> Reserved bits must be kept at reset value
  25. // <o.18> DBG_TIM17_STOP <i> TIM17 counter stopped when core is halted
  26. // <o.17> DBG_TIM16_STOP <i> TIM16 counter stopped when core is halted
  27. // <o.16> DBG_TIM15_STOP <i> TIM15 counter stopped when core is halted
  28. // <o.15> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
  29. // <o.11> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  30. // </h>
  31. DbgMCU_APB_Fz2 = 0x00000000;
  32. // <<< end of configuration section >>>