st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 98

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
10.2.3
98/371
External interrupt capability
This mode allows the Input capture capabilities to be used as external interrupt sources.
The interrupts are generated on the edge of the ARTICx signal.
The edge sensitivity of the external interrupts is programmable (CSx bit of ARTICCSR
register) and they are independently enabled through CIEx bits of the ARTICCSR register.
After fetching the interrupt vector, the CFx flags can be read to identify the interrupt source.
During Halt mode, the external interrupts can be used to wake up the micro (if the CIEx bit is
set).
Figure 39. Input capture timing diagram
PWM ART registers
ART control/status register (ARTCSR)
ARTCSR
EXCL
R/W
7
ICRx register
ARTICx pin
f
COUNTER
CFx flag
Counter
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
01h
CC[2:0]
R/W
5
02h
xxh
4
03h
04h
TCE
R/W
3
05h
Interrupt
FCRL
RO
2
04h
06h
Reset value: 0000 0000 (00h)
07h
R/W
OIE
1
t
OVF
R/W
0

Related parts for st7pmc2s6