Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
162
Добавлен:
01.03.2016
Размер:
3.56 Mб
Скачать

RM0016

 

Window watchdog (WWDG)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 30. Window watchdog timing diagram

 

 

 

 

 

 

 

 

 

T[5:0] CNT downcounter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WDGWR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

time

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Refresh not allowed Refresh Window

(step = 12288/fclk_wwdg_ck)

 

 

 

 

 

 

 

 

 

 

 

 

 

T6 bit

 

 

 

 

 

 

 

 

 

 

 

 

Reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 30. Window watchdog timing example

T[6:0]

 

fCPU (MHz)

 

 

 

2

 

16

 

 

 

 

 

 

40h

6.144

 

0.768

 

 

 

 

7Fh

393.216

 

49.152

 

 

 

 

15.5WWDG low power modes

Table 31.

Effect of low power modes on WWDG

Mode

Description

 

 

Wait

No effect on watchdog: The downcounter continues to decrement.

 

 

 

WWDG_HALT in option byte

 

 

 

 

 

No watchdog reset is generated. The MCU enters Halt mode. The watchdog counter is

 

 

decremented once and then stops counting and is no longer able to generate a watchdog reset

 

 

until the MCU receives an external interrupt or a reset.

Halt

0

If an interrupt is received (refer to interrupt table mapping to see interrupts which can occur in

 

 

Halt mode), the watchdog restarts counting after the stabilization delay. If a reset is generated,

 

 

the watchdog is disabled (reset state) unless hardware watchdog is selected by option byte. For

 

 

application recommendations see Section 15.8 below.

 

 

 

 

1

A reset is generated instead of entering Halt mode.

 

 

 

 

 

No reset is generated. The MCU enters Active-halt mode. The watchdog counter is not

Active-

x

decremented. It stops counting. When the MCU receives an oscillator interrupt or external

halt

interrupt, the watchdog restarts counting immediately. When the MCU receives a reset the

 

 

 

watchdog restarts counting after the stabilization delay.

 

 

 

Doc ID 14587 Rev 9

129/454

Соседние файлы в папке Минимум документации STM8_1