st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 121

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
Control register 2 (CR2)
Table 51.
CR2
3:2
Bit
7
6
5
4
OC1E
R/W
7
CC[1:0]
Name
OC1E
0C2E
PWM
OPM
CR2 register description
OC2E
R/W
Output compare 1 pin enable
Output compare 2 pin enable
One pulse mode
Pulse width modulation
Clock control
6
This bit is used only to output the signal from the timer on the OCMP1 pin (OLV1
in output compare mode, both OLV1 and OLV2 in PWM and one-pulse mode).
Whatever the value of the OC1E bit, the output compare 1 function of the timer
remains active.
0: OCMP1 pin alternate function disabled (I/O pin free for general-purpose I/O)
1: OCMP1 pin alternate function enabled
This bit is used only to output the signal from the timer on the OCMP2 pin (OLV2
in output compare mode). Whatever the value of the OC2E bit, the output
compare 2 function of the timer remains active.
0: OCMP2 pin alternate function disabled (I/O pin free for general-purpose I/O)
1: OCMP2 pin alternate function enabled
0: One pulse mode is not active
1: One pulse mode is active, the ICAP1 pin can be used to trigger one pulse on
0: PWM mode is not active
1: PWM mode is active, the OCMP1 pin outputs a programmable cyclic signal;
The timer clock mode depends on the following bits:
00: Timer clock =
01: Timer clock =
10: Timer clock =
11: Timer clock = external clock (where available)
Note: If the external clock pin is not available, programming the external clock
configuration stops the counter.
the OCMP1 pin; the active transition is given by the IEDG1 bit. The length of
the generated pulse depends on the contents of the OC1R register.
the length of the pulse depends on the value of OC1R register; the period
depends on the value of OC2R register.
OPM
R/W
5
f
f
f
CPU
CPU
CPU
/4
/2
/8
PWM
R/W
4
Function
3
CC[1:0]
R/W
2
Reset value: 0000 0000 (00h)
On-chip peripherals
IEDG2
R/W
1
EXEDG
R/W
121/371
0

Related parts for st7pmc2s6