![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 272](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630272.webp)
www.geehy.com Page 271
Field
Name
R/W
Description
7
WWDTEN
R/S
Window Watchdog Enable
This bit is set to 1 by software and can be cleared by hardware only
after reset.
When WWDTEN=1, WWDT can generate a reset.
0: Disable
1: Enable
31:8
Reserved
Configuration register (WWDT_CFG)
Offset address: 0x04
Reset value: 0x0000 007F
Field
Name
R/W
Description
6:0
WIN
R/W
Window Value Setup
This window value is 7 bits, which is used to compare with the down
counter.
8:7
TBPSC R/W
Timer Base Prescaler Factor Configure
Divide the frequency on the basis of PCLK1/4096
00: No frequency division
01: Two-divided frequency
10: Four-divided frequency
11: Eight-divided frequency
9
EWIEN R/S
Early Wakeup Interrupt Enable
0: No effect
1: When the counter value reaches 0x40, an interrupt will be generated;
this interrupt is cleared by hardware after reset.
31:10
Reserved
State register (WWDT_STS)
Offset address: 0x08
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
EWIFLG RC_W0
Early Wakeup Interrupt Occur Flag
0: Not occur
1: When the counter value reaches 0x40, it is set to 1 by hardware; if
the interrupt is not enabled, the bit will also be set to 1; it can be
cleared by writing 0 by software.
31:1
Reserved