Project_PY32F002Bx5.dbgconf 958 B

12345678910111213141516171819202122232425
  1. // File: PY32F002xx.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. // </h>
  7. DbgMCU_CR = 0x00000002;
  8. // <h> Debug MCU APB freeze1 register (DBG_APB_FZ1)
  9. // <i> Reserved bits must be kept at reset value
  10. // <o.31> DBG_LPTIM_STOP <i> LPTIM stopped when core is halted
  11. // <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
  12. // </h>
  13. DbgMCU_APB_Fz1 = 0x00000000;
  14. // <h> Debug MCU APB freeze2 register (DBG_APB_FZ2)
  15. // <i> Reserved bits must be kept at reset value
  16. // <o.17> DBG_TIM16_STOP <i> TIM16 counter stopped when core is halted
  17. // <o.11> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  18. // </h>
  19. DbgMCU_APB_Fz2 = 0x00000000;
  20. // <<< end of configuration section >>>