ATMEGA8-16AI SL383 Atmel, ATMEGA8-16AI SL383 Datasheet - Page 43

no-image

ATMEGA8-16AI SL383

Manufacturer Part Number
ATMEGA8-16AI SL383
Description
Semiconductors and Actives, Microprocessors, Microcontrollers
Manufacturer
Atmel
Datasheet
Watchdog Timer
Watchdog Timer
Control Register –
WDTCR
2486W–AVR–02/10
The Watchdog Timer is clocked from a separate On-chip Oscillator which runs at 1 MHz. This is
the typical value at V
controlling the Watchdog Timer prescaler, the Watchdog Reset interval can be adjusted as
shown in
Timer. The Watchdog Timer is also reset when it is disabled and when a Chip Reset occurs.
Eight different clock cycle periods can be selected to determine the reset period. If the reset
period expires without another Watchdog Reset, the ATmega8 resets and executes from the
Reset Vector. For timing details on the Watchdog Reset, refer to
To prevent unintentional disabling of the Watchdog, a special turn-off sequence must be fol-
lowed when the Watchdog is disabled. Refer to the description of the Watchdog Timer Control
Register for details.
Figure 20. Watchdog Timer
• Bits 7..5 – Res: Reserved Bits
These bits are reserved bits in the ATmega8 and will always read as zero.
• Bit 4 – WDCE: Watchdog Change Enable
This bit must be set when the WDE bit is written to logic zero. Otherwise, the Watchdog will not
be disabled. Once written to one, hardware will clear this bit after four clock cycles. Refer to the
description of the WDE bit for a Watchdog disable procedure. In Safety Level 1 and 2, this bit
must also be set when changing the prescaler bits. See the Code Examples on
Bit
Read/Write
Initial Value
Table 17 on page
R
7
0
CC
OSCILLATOR
= 5V. See characterization data for typical values at other V
WATCHDOG
R
6
0
44. The WDR – Watchdog Reset – instruction resets the Watchdog
R
5
0
WDCE
R/W
4
0
WDE
R/W
3
0
WDP2
R/W
2
0
WDP1
R/W
page
1
0
41.
WDP0
R/W
ATmega8(L)
0
0
page
WDTCR
CC
45.
levels. By
43

Related parts for ATMEGA8-16AI SL383