ADP315PC87570 National Semiconductor, ADP315PC87570 Datasheet - Page 116
ADP315PC87570
Manufacturer Part Number
ADP315PC87570
Description
Keyboard and Power Management Controller
Manufacturer
National Semiconductor
Datasheet
1.ADP315PC87570.pdf
(168 pages)
- Current page: 116 of 168
- Download datasheet (892Kb)
15.0 Timer and WATCHDOG (TWD)
The TWD generates the clocks and interrupts used for tim-
ing periodic functions in the system; it also provides
WATCHDOG protection over software execution.
The TWD provides flexibility in system configuration by en-
abling the configuration of various clock ratios. After setting
the TWD configuration, the software can lock it to give a
higher level of protection against erroneous software action.
Once a section of the TWD is locked, only reset releases it.
15.1 FEATURES
15.2 FUNCTIONAL DESCRIPTION
15.2.1 Input Clock
The TWD bases all its counting activities on a 32.768KHz
clock. The WATCHDOG can count using a division of the
32KHz clock (either T0OUT or T0IN) or an alternate clock.
The alternate clock source is selected with a hardware se-
lection signal.
•
•
•
•
•
(in Dev Env only)
32.768KHz input clock
Programmable pre-scale counter
16-bit programmable periodic interrupt timer
8-bit WATCHDOG counter
WATCHDOG signal generation in response to various
failure detection
32.768KHz
from RTC
FREEZ
Figure 15-1. Timer and WATCHDOG Block Diagram
TWCFG.WDCT0I
Timer and WATCHDOG (TWD)
5-Bit Pre-Scale
Counter
(TWCP)
TWDT0 Register
16-Bit Timer
116
WDSDM
WDCNT
15.2.2 Pre-Scale
A pre-scale counter divides the input clock (32.768KHz) by
a factor of 2
of 0 through 5 (i.e., divide ratio of 1:1 through 1:32). The
pre-scaled output is used as an input clock for a 16-bit timer
(TWDT0), and is referred to as T0IN.
15.2.3 TWD Timer 0
TWD Timer 0 is a 16-bit, programmable, automatically re-
triggered down-counter. It counts on the rising edge of
T0IN. It starts from the value loaded to TWDT0 register
down to zero, and then restarts counting from TWDT0 at the
next T0IN cycle.
When the counter reaches 0, T0OUT is set (1) for one T0IN
cycle. This makes the Timer 0 cycle:
TWDT0 + 1 x T0IN-cycle.
T0OUT is input to the ICU and can be used as the time base
for activities such as system tick.
When TWDT0 is loaded with a new value, the counter uses
it the next time it re-starts counting (i.e., after reaching ze-
ro). If timer control register T0CSR.RST is written 1, the tim-
er is restarted on the next rising edge of T0IN.
See Figure 15-1 for the TWD block diagram.
Note:
1. The T0CSR.RST bit is cleared after completing this
2. When TWCP.MDIV=0, the timer counter may skip one
load.
count when loaded with a new value.
T0IN
WATCHDOG
MDIV
Peripheral Bus
. MDIV (TWCP.MDIV field) is in the range
WATCHDOG
Service
Logic
WATCHDOG
T0OUT
to ICU
Reset
www.national.com
Related parts for ADP315PC87570
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
National Semiconductor [8-Bit D/A Converter]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [Media Coprocessor]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
AC97 Rev 2 Codec with Sample Rate Conversion and National 3D Sound
Manufacturer:
National Semiconductor
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
General Purpose, Low Voltage, Low Power, Rail-to-Rail Output Operational Amplifiers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
8-bit 20 MSPS flash A/D converter.
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Low Noise Quad Operational Amplifier
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad Differential Line Receivers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad High Speed Trapezoidal? Bus Transceiver
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Dual Line Receiver
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
TTL to 10k ECL Level Translator with Latch
Manufacturer:
National Semiconductor
Datasheet: