EasyManuals Logo

ST STM8S Reference Manual

ST STM8S
449 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #128 background imageLoading...
Page #128 background image
Window watchdog (WWDG) RM0016
128/449 Doc ID 14587 Rev 8
15.4 How to program the watchdog timeout
The formula below can be used to calculate the WWDG timeout, t
WWDG
, expressed in ms:
where T
CPU
is the peripheral clock period expressed in ms
Warning: When writing to the WWDG_CR register, always write 1 in the
T6 bit to avoid generating an immediate reset.
Figure 29. Approximate timeout duration
t
WWDG
T
CPU
12288× T5:0[]1+()×=
CNT value (hex.)
Watchdog timeout (ms) @ 16 MHz f
CPU
7F
40
78
49.152
0.768 24.576
70
68
60
58
50
48
18.43212.2886.144 30.72 36.864 43.008

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals