ST92185B STMicroelectronics, ST92185B Datasheet - Page 73
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
ST92185B
Manufacturer Part Number
ST92185B
Description
16k/24k/32k Rom Hcmos Mcu With On-screen-display
Manufacturer
STMicroelectronics
Datasheet
1.ST92185B.pdf
(178 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ST92185BJ2B1/0BE
Manufacturer:
ST
Quantity:
122
Company:
Part Number:
ST92185BN4B1/PBI
Manufacturer:
ST
Quantity:
35
7 ON-CHIP PERIPHERALS
7.1 TIMER/WATCHDOG (WDT)
Important Note: This chapter is a generic descrip-
tion of the WDT peripheral. However depending
on the ST9 device, some or all of WDT interface
signals described may not be connected to exter-
nal pins. For the list of WDT pins present on the
ST9 device, refer to the device pinout description
in the first section of the data sheet.
7.1.1 Introduction
The Timer/Watchdog (WDT) peripheral consists of
a programmable 16-bit timer and an 8-bit prescal-
er. It can be used, for example, to:
– Generate periodic interrupts
– Measure input signal pulse widths
– Request an interrupt after a set number of events
– Generate an output signal waveform
– Act as a Watchdog timer to monitor system in-
Figure 44. Timer/Watchdog Block Diagram
tegrity
1
HW0SW1
Pin not present on some ST9 devices
WDIN
NMI
INT0
1
1
1
1
CLOCK CONTROL LOGIC
INEN INMD1 INMD2
WDGEN
INPUT
&
INTCLK/4
MUX
.
TLIS
IAOS
MUX
CONTROL LOGIC
INTERRUPT
WDT
CLOCK
8-BIT PRESCALER
The main WDT registers are:
– Control register for the input, output and interrupt
– 16-bit counter register pair (WDTHR, WDTLR)
– Prescaler register (WDTPR)
The hardware interface consists of up to five sig-
nals:
– WDIN External clock input
– WDOUT Square wave or PWM signal output
– INT0 External interrupt input
– NMI Non-Maskable Interrupt input
– HW0SW1 Hardware/Software Watchdog ena-
logic blocks (WDTCR)
ble.
ST92185B - TIMER/WATCHDOG (WDT)
WDTPR
OUTMD
OUTPUT CONTROL LOGIC
TOP LEVEL INTERRUPT REQUEST
RESET
INTA0 REQUEST
WROUT
DOWNCOUNTER
WDTRH, WDTRL
16-BIT
OUTEN
COUNT
END OF
WDOUT
73/178
1