ST72321R9-Auto STMicroelectronics, ST72321R9-Auto Datasheet - Page 104

no-image

ST72321R9-Auto

Manufacturer Part Number
ST72321R9-Auto
Description
8-bit MCU for automotive with 60 Kbyte Flash, 10-bit ADC, timers, SPI, SCI and I2C interfaces
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72321R9-Auto

Hdflash Endurance
100 cycles, data retention 20 years
Clock Sources
crystal/ceramic resonator oscillators, internal RC oscillator and bypass for external clock
4 Power Saving Modes
Halt, Active Halt, Wait and Slow
16-bit timer
Figure 46. Input capture block diagram
104/243
ICAP2
ICAP1
pin
pin
5
6
7
8
The alternate inputs (ICAP1 and ICAP2) are always directly connected to the timer. So any
transitions on these pins activates the input capture function.
Moreover if one of the ICAPi pins is configured as an input and the second one as an output,
an interrupt can be generated if the user toggles the output pin and if the ICIE bit is set.
This can be avoided if the input capture function i is disabled by reading the ICiHR (see note
1).
The TOF bit can be used with interrupt generation in order to measure events that go
beyond the timer range (FFFFh).
Figure 47. Input capture timing diagram
16-BIT
EDGE DETECT
IC2R Register
CIRCUIT2
16-BIT FREE RUNNING
COUNTER REGISTER
Note: The
ICAPi REGISTER
COUNTER
TIMER CLOCK
rising edge is the
ICAPi FLAG
ICAPi PIN
EDGE DETECT
CIRCUIT1
IC1R Register
FF01
a
ctive edge.
Doc ID 13829 Rev 1
FF02
ICF1
ICIE
ICF2
FF03
CC1
(Control Register 2) CR2
(Control Register 1) CR1
CC0
FF03
(Status Register) SR
0
ST72321xx-Auto
IEDG2
IEDG1
0
0

Related parts for ST72321R9-Auto