T89C51CC02 Atmel, T89C51CC02 Datasheet - Page 64

no-image

T89C51CC02

Manufacturer Part Number
T89C51CC02
Description
8-Bit MCU
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC02CA-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02CA-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-SITIM
Manufacturer:
Atmel
Quantity:
10 000
T89C51CC02
14. WatchDog Timer
14.1. Introduction
T89C51CC02 contains a powerful programmable hardware WatchDog Timer (WDT) that automatically resets the
chip if it software fails to reset the WDT before the selected time interval has elapsed. It permits large Time-Out
ranking from 16ms to 2s @Fosc = 12MHz.
This WDT consist of a 14-bit counter plus a 7-bit programmable counter, a WatchDog Timer reset register
(WDTRST) and a WatchDog Timer programming (WDTPRG) register. When exiting reset, the WDT is -by default-
disable. To enable the WDT, the user has to write the sequence 1EH and E1H into WDRST register. When the
WatchDog Timer is enabled, it will increment every machine cycle while the oscillator is running and there is no
way to disable the WDT except through reset (either hardware reset or WDT overflow reset). When WDT overflows,
it will generate an output RESET pulse at the RST pin. The RESET pulse duration is 96xT
F
executed within the time required to prevent a WDT reset.
64
OSC
. To make the best use of the WDT, it should be serviced in those sections of code that will periodically be
PERIPHERAL CLOCK
RESET
-
-
CLOCK
Fwd
-
WDTRST
Figure 53. WatchDog Timer
-
Preliminary
14-bit COUNTER
Enable
-
2
PS
1
0
WR
6
Control
Decoder
7-bit COUNTER
CPU and Peripheral
Clock
Outputs
Rev.A - May 17, 2001
OSC
, where T
OSC
RESET
=1/

Related parts for T89C51CC02