29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Window watchdog (WWDG)<br />

RM0008<br />

Bits 8:7 WDGTB[1:0]: Timer base<br />

The time base of the prescaler can be modified as follows:<br />

00: CK Counter Clock (PCLK1 div 4096) div 1<br />

01: CK Counter Clock (PCLK1 div 4096) div 2<br />

10: CK Counter Clock (PCLK1 div 4096) div 4<br />

11: CK Counter Clock (PCLK1 div 4096) div 8<br />

Bits 6:0 W[6:0]: 7-bit window value<br />

These bits contain the window value to be compared to the downcounter.<br />

18.6.3 Status register (WWDG_SR)<br />

Address offset: 0x08<br />

Reset value: 0x00<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 />

EWIF<br />

rc_w0<br />

Bit 31:1Reserved<br />

Bit 0 EWIF: Early wakeup interrupt flag<br />

This bit is set by hardware when the counter has reached the value 40h. It must be cleared<br />

by software by writing ‘0’. A write of ‘1’ has no effect. This bit is also set if the interrupt is not<br />

enabled.<br />

18.6.4 WWDG register map<br />

The following table gives the WWDG register map <strong>and</strong> reset values.<br />

Table 83. WWDG register map <strong>and</strong> reset values<br />

Offset Register<br />

31<br />

30<br />

29<br />

28<br />

27<br />

26<br />

25<br />

24<br />

23<br />

22<br />

21<br />

20<br />

19<br />

18<br />

17<br />

16<br />

15<br />

14<br />

13<br />

12<br />

11<br />

10<br />

9<br />

8<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

0x00<br />

0x04<br />

WWDG_CR<br />

Reserved<br />

Reset value 0 1 1 1 1 1 1 1<br />

WWDG_CFR<br />

Reserved<br />

WDGA<br />

EWI<br />

WDGTB1<br />

WDGTB0<br />

Reset value 0 0 0 1 1 1 1 1 1 1<br />

T[6:0]<br />

W[6:0]<br />

0x08<br />

WWDG_SR<br />

Reserved<br />

EWIF<br />

Reset value 0<br />

Refer to Table 1 on page 41 for the register boundary addresses.<br />

408/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!