ST72321B STMICROELECTRONICS [STMicroelectronics], ST72321B Datasheet - Page 63
ST72321B
Manufacturer Part Number
ST72321B
Description
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST72321B.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72321BT6/NOTTR
Manufacturer:
ST
Quantity:
20 000
- Current page: 63 of 187
- Download datasheet (4Mb)
ON-CHIP PERIPHERALS (Cont’d)
Output compare and Time base interrupt
On overflow, the OVF flag of the ARTCSR register
is set and an overflow interrupt request is generat-
ed if the overflow interrupt enable bit, OIE, in the
ARTCSR register, is set. The OVF flag must be re-
set by the user software. This interrupt can be
used as a time base in the application.
Figure 41. External Event Detector Example (3 counts)
f
EXT
COUNTER
=f
COUNTER
OVF
FDh
FEh
ARTARR=FDh
FFh
INTERRUPT
IF OIE=1
FDh
External clock and event detector mode
Using the f
auto-reload timer can be used as an external clock
event detector. In this mode, the ARTARR register
is used to select the n
be counted before setting the OVF flag.
Caution: The external clock function is not availa-
ble in HALT mode. If HALT mode is used in the ap-
plication, prior to executing the HALT instruction,
the counter must be disabled by clearing the TCE
bit in the ARTCSR register to avoid spurious coun-
ter increments.
ARTCSR READ
FEh
EXT
n
EVENT
FFh
external prescaler input clock, the
INTERRUPT
IF OIE=1
= 256 - ARTARR
EVENT
FDh
ARTCSR READ
number of events to
t
63/187
Related parts for ST72321B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Low Cost, Real Time Emulator Series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Full-featured, real time emulator series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
In-Circuit Programmer
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet: