attiny24v ATMEL Corporation, attiny24v Datasheet - Page 43

no-image

attiny24v

Manufacturer Part Number
attiny24v
Description
8-bit Avr Microcontroller With 2/4/8k Bytes Insystem Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny24v-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny24v-10SSU
Manufacturer:
MICROCHIP
Quantity:
5 566
Part Number:
attiny24v-10SSU
Manufacturer:
ST
0
Part Number:
attiny24v-10SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny24v-1PU
Manufacturer:
MICROCHIP
Quantity:
39
8.4.1
8.4.1.1
8006H–AVR–10/09
Timed Sequences for Changing the Configuration of the Watchdog Timer
Safety Level 1
The Wathdog Timer can also be configured to generate an interrupt instead of a reset. This can
be very helpful when using the Watchdog to wake-up from Power-down.
To prevent unintentional disabling of the Watchdog or unintentional change of time-out period,
two different safety levels are selected by the fuse WDTON as shown in
Sequences for Changing the Configuration of the Watchdog Timer” on page 43
Table 8-1.
Figure 8-7.
The sequence for changing configuration differs slightly between the two safety levels. Separate
procedures are described for each level.
In this mode, the Watchdog Timer is initially disabled, but can be enabled by writing the WDE bit
to one without any restriction. A timed sequence is needed when disabling an enabled Watch-
dog Timer. To disable an enabled Watchdog Timer, the following procedure must be followed:
WDTON
Unprogrammed
Programmed
1. In the same operation, write a logic one to WDCE and WDE. A logic one must be writ-
2. Within the next four clock cycles, in the same operation, write the WDE and WDP bits
ten to WDE regardless of the previous value of the WDE bit.
as desired, but with the WDCE bit cleared.
WDT Configuration as a Function of the Fuse Settings of WDTON
Watchdog Timer
Safety
Level
WATCHDOG
1
2
OSCILLATOR
RESET
128 kHz
WDP0
WDP1
WDP2
WDP3
WDE
WDT Initial
State
Disabled
Enabled
Timed sequence
Always enabled
How to Disable the
WDT
MCU RESET
PRESCALER
WATCHDOG
MUX
ATtiny24/44/84
Table 8-1
How to Change Time-
out
No limitations
Timed sequence
for details.
See
“Timed
43

Related parts for attiny24v