
GD32A50x User Manual
263
When DSLP_HOLD bit in DBG control register (DBG_CTL) is set and entering the deep-sleep
mode, the clock of AHB bus and system clock are provided by CK_IRC8M, and the debugger
can debug in deep-sleep mode.
When SLP_HOLD bit in DBG control register (DBG_CTL) is set and entering the sleep mode,
the clock of AHB bus for CPU is not closed, and the debugger can debug in sleep mode.
13.3.2.
Debug support for TIMER, I2C, WWDGT and FWDGT
When the core halted and the corresponding bit in DBG control register (DBG_CTL) is set,
the following behaved.
For TIMER, the timer counters stopped and hold for debug.
For I2C, SMBUS timeout hold for debug.
For WWDGT or FWDGT, the counter clock stopped for debug.
For CAN, the receive register is stopped counting for debugging.
For MFCOM, the counter clock stopped for debug.