ST7FL15F1MAE STMICROELECTRONICS [STMicroelectronics], ST7FL15F1MAE Datasheet - Page 59

no-image

ST7FL15F1MAE

Manufacturer Part Number
ST7FL15F1MAE
Description
8-bit MCU for automotive with single voltage Flash/ROM memory, data EEPROM, ADC, 5 timers, SPI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
DUAL 12-BIT AUTORELOAD TIMER 4 (cont’d)
11.2.3.5 Input Capture Mode
The 12-bit ATICR register is used to latch the val-
ue of the 12-bit free running upcounter CNTR1 af-
ter a rising or falling edge is detected on the ATIC
pin. When an input capture occurs, the ICF bit is
set and the ATICR register contains the value of
the free running upcounter. An IC interrupt is gen-
Figure 40. Block Diagram of Input Capture Mode
Figure 41. Input Capture Timing Diagram
COUNTER1
ICF FLAG
ATIC
f
ATIC PIN
COUNTER
f
(1ms
@ 8 MHz)
LTIMER
timebase
f
OFF
CPU
01h
ATCSR
02h
xxh
ATICR
ICF
03h
CNTR1
12-bit INPUT CAPTURE REGISTER
ATR1
ICIE
04h
12-bit AUTORELOAD REGISTER
IC INTERRUPT
CK1
12-bit UPCOUNTER1
REQUEST
05h
CK0
INTERRUPT
erated if the ICIE bit is set. The ICF bit is reset by
reading the ATICRH/ATICRL register when the
ICF bit is set. The ATICR is a read only register
and always contains the free running upcounter
value which corresponds to the most recent input
capture. Any further input capture is inhibited while
the ICF bit is set.
06h
07h
04h
08h
ATICR READ
09h
ST7L15, ST7L19
0Ah
09h
INTERRUPT
t
59/138
1

Related parts for ST7FL15F1MAE