NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
256
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
Comparator
(CMR)
1
0
PWM
down-counter
3
3
2
1
0
4
3
2
1
0
4
PWM-Timer
output
1
CMR = 1
CNR = 3
Auto reload = 1
(CHnMOD=1)
Set CHnEN=1
(PWM-Timer starts running)
CMR = 0
CNR = 4
Auto-load
(S/W write new value)
Auto-load
(Write initial setting)
(H/W update value)
(PWMIFn is set by H/W)
(PWMIFn is set by H/W)
Figure 6.9-8 PWM-Timer Operation Timing
CNRn (7FF)
CMRn (3FF)
PWMIFn
s/w
clear
PWMn generator ouput
s/w
clear
PWMDIFn
s/w
clear
s/w
clear
PWM period
PWM period
Figure 6.9-9 PWM Edge-aligned Interrupt Generate Timing Waveform