29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

Window watchdog (WWDG)<br />

18.6 WWDG registers<br />

Refer to Section 1.1 on page 37 for a list of abbreviations used in register descriptions.<br />

18.6.1 Control register (WWDG_CR)<br />

Address offset: 0x00<br />

Reset value: 0x7F<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

WDGA T6 T5 T4 T3 T2 T1 T0<br />

rs rw rw rw rw rw rw rw<br />

Bits 31:8 Reserved<br />

Bit 7 WDGA: Activation bit<br />

This bit is set by software <strong>and</strong> only cleared by hardware after a reset. When WDGA = 1, the<br />

watchdog can generate a reset.<br />

0: Watchdog disabled<br />

1: Watchdog enabled<br />

Bits 6:0 T[6:0]: 7-bit counter (MSB to LSB)<br />

These bits contain the value of the watchdog counter. It is decremented every (4096 x<br />

2 WDGTB ) PCLK1 cycles. A reset is produced when it rolls over from 40h to 3Fh (T6 becomes<br />

cleared).<br />

18.6.2 Configuration register (WWDG_CFR)<br />

Address offset: 0x04<br />

Reset value: 0x7F<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

EWI<br />

WDG<br />

TB1<br />

WDG<br />

TB0<br />

W6 W5 W4 W3 W2 W1 W0<br />

rs rw rw rw rw rw rw rw rw rw<br />

Bit 31:10 Reserved<br />

Bit 9 EWI: Early wakeup interrupt<br />

When set, an interrupt occurs whenever the counter reaches the value 40h. This interrupt is<br />

only cleared by hardware after a reset.<br />

Doc ID 13902 Rev 9 407/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!