st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 255

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
Figure 120. Center-aligned PWM waveforms (compare 0 register = 8)
Edge-aligned mode (CMS bit = 0)
In this operating mode, the PWM counter counts up to the value loaded in the 12-bit
compare register. Then the PWM counter is cleared and it restarts counting up.
The PWM signals are set to ‘0’ when the PWM counter reaches, in up-counting, the
corresponding 13-bit Compare register value and they are set to ‘1’ when the PWM counter
is cleared.
If the 13-bit compare register value is greater than the extended compare 0 register (the 13
bit is set to ‘0’), the corresponding PWM output signal is held at ‘1’.
If the 13-bit compare register value = 0, the corresponding PWM output signal is held at ‘0’.
Figure 121
register value = 8.
1
2
3
4
1 compare register value = 4
2 compare register value = 7
3 compare register value
4 compare register value = 0
0
shows some edge-aligned PWM waveforms in an example where the compare 0
1
2
3
4
8
‘1’
‘0’
5
6
7
8
7
6
5
4
3
On-chip peripherals
2
1
0
255/371
1
th

Related parts for st7pmc2s6