st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 110

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
Figure 45. Input capture block diagram
Figure 46. Input capture timing diagram
1. The active edge is the rising edge.
2. The time between an event on the ICAPi pin and the appearance of the corresponding flag is from 2 to 3 CPU clock cycles.
110/371
ICAP2
ICAP1
pin
pin
This depends on the moment when the ICAP event happens relative to the timer clock.
6
Counter register
ICAPi register
the user toggle 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 in order to measure event that go beyond the timer
range (FFFFh).
Timer clock
16-bit
ICAPi flag
ICAPi pin
IC2R register
Edge detect
16-bit free running counter
circuit 2
FF01
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Edge detect
IC1R register
circuit 1
FF02
ICF1
ICIE
FF03
ICF2
CC1
FF03
CR1 (control register 1)
CR2 (control register 2)
CC0
SR (status register)
0
IEDG2
IEDG1
0
0

Related parts for st7pmc2s6