atmega103 ATMEL Corporation, atmega103 Datasheet - Page 55

no-image

atmega103

Manufacturer Part Number
atmega103
Description
Atmega103 8-bit With 128k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega103-6AC
Manufacturer:
ATMEL
Quantity:
1
Part Number:
atmega103-6AI
Manufacturer:
ATMEL
Quantity:
586
Part Number:
atmega103-6AI
Manufacturer:
Atmel
Quantity:
10 000
Watchdog Timer
Watchdog Timer Control
Register – WDTCR
0945I–AVR–02/07
The Watchdog Timer is clocked from a separate On-chip Oscillator. By controlling the
Watchdog Timer prescaler, the Watchdog Reset interval can be adjusted as shown in
Table 21. See characterization data for typical values at other V
(Watchdog Reset) instruction resets the Watchdog Timer. From the Watchdog Reset,
eight different clock cycle periods can be selected to determine the reset period. If the
reset period expires without another Watchdog Reset, the ATmega103(L) resets and
executes from the Reset Vector. For timing details on the Watchdog Reset, refer to
page 29.
To prevent unintentional disabling of the Watchdog, a special turn-off procedure must
be followed when the Watchdog is disabled. Refer to the description of the Watchdog
Timer Control Register for details.
Figure 36. Watchdog Timer
• Bits 7..5 – Res: Reserved Bits
These bits are reserved bits in the ATmega103(L) and will always read as zero.
• Bit 4 – WDTOE: Watchdog Turn-off Enable
This bit must be set (one) when the WDE bit is cleared, Otherwise, the Watchdog will
not be disabled. Once set, hardware will clear this bit to zero after four clock cycles.
Refer to the description of the WDE bit for a Watchdog disable procedure.
• Bit 3 – WDE: Watchdog Enable
When the WDE is set (one), the Watchdog Timer is enabled and if the WDE is cleared
(zero), the Watchdog Timer function is disabled. WDE can only be cleared if the
WDTOE bit is set (one). To disable an enabled Watchdog Timer, the following proce-
dure must be followed:
Bit
$21 ($41)
Read/Write
Initial Value
R
7
0
Oscillator
350 kHz at V
1 MHz at V
R
6
0
CC
CC
= 5V
= 3V
R
5
0
WDTOE
R/W
4
0
WDE
R/W
3
0
WDP2
R/W
2
0
ATmega103(L)
WDP1
R/W
1
0
CC
levels. The WDR
WDP0
R/W
0
0
WDTCR
55

Related parts for atmega103