PY32F020Bxx.dbgconf 1015 B

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