st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 113

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
Forced compare output capability
When the FOLVi bit is set by software, the OLVLi bit is copied to the OCMPi pin. The OLVi bit has to be
toggled in order to toggle the OCMPi pin when it is enabled (OCiE bit = 1). The OCFi bit is then not set by
hardware, and thus no interrupt request is generated.
FOLVLi bits have no effect in both one pulse mode and PWM mode.
Figure 47. Output compare block diagram
Figure 48. Output compare timing diagram, f
16-bit
16-bit free running counter
OC1R register
Output compare circuit
16-bit
OC2R register
Output compare register i (OCRi)
16-bit
Output compare flag i (OCFi)
OCMPi pin (OLVLi = 1)
Internal CPU clock
Counter register
Timer clock
OC1E
OCIE
OC2E
OCF1
2ECF
TIMER
FOLV2 FOLV1
2ED0
= f
OCF2
CC1
2ED1
CPU
CR2 (control register 2)
CR1 (control register 1)
OLVL2
/2
CC0
2ED3
SR (status register)
0
2ED2
0
2ED3
OLVL1
0
2ED4
Latch
Latch
On-chip peripherals
1
2
OCMP1
OCMP2
pin
pin
113/371

Related parts for st7pmc2s6