![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 146](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630146.webp)
www.geehy.com Page 145
Field
Name
R/W
Description
31:16
WVR
R
Wafer Version Recognition
This domain identifies wafer information
Debug MCU configuration register (DBGMCU_CFG)
This register can configure MCU in debug mode. It includes the counter
supporting timer and watchdog, low-power mode, CAN communication and
assignment tracking pin.
Address: 0xE004 2004
Only support 32-bit access
Reset value: 0x0000 0000 (not affected by system reset, only power-on reset)
Field
Name
R/W
Description
0
SLEEP_CLK_STS
R/W
Configure clock status when MCU is debugged in sleep mode
0: FCLK ON, HCLK OFF
1: FCLK ON, HCLK ON, provided by system clock
1
STOP_CLK_STS
R/W
Configure clock status when MCU is debugged in stop mode
0: FCLK OFF, HCLK OFF
1: FCLK ON, HCLK ON, provided by HSICLK
2
STANDBY_CLK_STS R/W
Configure clock status when MCU is debugged in standby
mode
0: FCLK OFF, HCLK OFF
1: FCLK ON, HCLK ON, provided by HSICLK
4:3
Reserved
5
TRACE_IOEN
R/W
Trace Debug Pin Enable
0: Tracking debug pin disabled
1: Tracking debug pin enabled
7:6
TRACE_MODE
R/W
Trace Debug Pin Mode Configure
Tracking debug pin mode can be configured only when
TRACE_IOEN=1:
00: Asynchronous mode
01: Synchronous mode, the data length is 1
10: Synchronous mode, the data length is 2
11: Synchronous mode, the data length is 4
31:8
Reserved
Debug MCU APB1 freeze register (DBGMCU_APB1F)
This register is used to configure MCU during debugging.
Involve some APB peripherals:
Freeze the timer counter
Freeze I2C SMBus timeout
Freeze supporting system window regulators and independent
watchdog counters
This register is reset asynchronously by POR (instead of system reset) and can
be written by the debugger through system reset.
Only support 32-bit access