st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 119

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
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
10.3.5
10.3.6
10.3.7
Interrupts
Table 48.
1. The 16-bit timer interrupt events are connected to the same interrupt vector (see
Summary of 16-bit timer modes
Table 49.
1. See note 4 in
2. See note 5 in
3. See note 4 in
16-bit timer registers
Each timer is associated with three control and status registers, and with six pairs of data
registers (16-bit values) relating to the two input captures, the two output compares, the
counter and the alternate counter.
Control register 1 (CR1)
Input capture 1 event/counter reset in PWM mode
Input capture 2 event
Output compare 1 event (not available in PWM mode)
Output compare 2 event (not available in PWM mode)
Timer overflow event
Input capture
Output compare
One pulse mode
PWM mode
CR1
These events generate an interrupt if the corresponding enable control bit is set and the interrupt mask in
the CC register is reset (RIM instruction).
ICIE
R/W
7
Modes
(1)
16-bit timer interrupt control/wake-up capability
Summary of 16-bit timer modes
One pulse mode on page
One pulse mode on page
Pulse width modulation mode on page
OCIE
and/or
R/W
(1)
6
Interrupt event
and/or
(2)
(2)
TOIE
R/W
5
capture 1
Input
Yes
Yes
No
No
114.
114.
FOLV2
R/W
4
Not recommended
Not recommended
116.
FOLV1
capture 2
R/W
Input
Available resources
3
Yes
Yes
Event
OCF1
OCF2
ICF1
ICF2
TOF
flag
OLVL2
control bit
(1)
(3)
R/W
Enable
2
OCIE
TOIE
ICIE
(1)
Reset value: 0000 0000 (00h)
compare 1
Output
Section 7:
Yes
Yes
No
No
On-chip peripherals
IEDG1
Exit from
R/W
WAIT
1
Yes
Yes
Yes
Yes
Yes
Interrupts).
compare 2
Partially
Output
Exit from
Yes
Yes
OLVL1
No
HALT
R/W
119/371
No
No
No
No
No
0
(2)

Related parts for st7pmc2s6