English
Language : 

M0564LE4AE Datasheet, PDF (113/161 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER
M0564
point 1
point 2
PERIOD PERIOD DATA0
PBUF
CMPDAT
PERIOD DATA0
CMPBUF
0x1FFFF
PERIOD DATA1
PERIOD DATA0
CMPDAT DATA1
PERIOD DATA2
CMPDAT DATA0
0x10000
CMPU
point 3
PERIOD DATA1
PERIOD DATA2
PERIOD DATA1
PERIOD DATA2
CMPDAT DATA1
CMPDAT DATA1
CNT wraparound
CNT
Note:
Write
Load
Figure 6.17-7 Immediately Loading Mode with Up Count Type
6.17.3.10 PWM Pulse Generator
PWM pulse generator uses counter and comparator events to generate PWM output pulse. The
events are zero point and period point in up count type and down count type, center point in up-
down count type and counter equal to comparator point in three count types.
Each event point can generate PWM output waveform in differente count type as shown in Figure
6.17-8.
Center
CMPDAT
CNT
CNT
Zero
PWM OUT
PWM period
Figure 6.17-8 PWM Pulse Generation in Up-Down Count Type
The PWM generation events may sometimes generated at the same time, as the reason, events
priority between different counter types should be take care are list in below tables. Table 6.17-9
is for event priority in up count type. Table 6.17-10 is for event priority in down count type and
Table 6.17-11 is for event priority in up-down count type.
May 05, 2017
Page 113 of 161
Rev 1.00