NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
254
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
PWM45_S (CLKSEL2[10], CLKSEL2[5:4])
PWM45_EN(APBCLK[22])
PWM45_CLK
011
010
001
000
HCLK
32.768 kHz
4~24 MHz
22.1184 MHz
111
10 kHz
Figure 6.9-5 PWM Generator 4 Clock Source Control
CSR1(CSR[6:4])
100
000
1
1/2
1/4
1/8
1/16
001
010
011
100
000
1
1/2
1/4
1/8
1/16
001
010
011
CSR0(CSR[2:0])
8-bit
Prescaler
PWM-
Timer0
Logic
CNR0
CMR0
PCR
PWM-
Timer1
Logic
1
0
Dead Zone
Generator 0
DZI01(PPR[23:16])
DZEN01
(PCR[4])
CH0INV
(PCR[2])
CH1INV
(PCR[10])
PWMIE0
PWMDIE0
PWMIF0
PWMDIF0
PWMIE1
PWMDIE1
PWMIF1
PWMDIF1
CNR1
CMR1
PCR
PWM45_CLK
1
1/2
1/4
1/8
1/16
Clock
Divider
PWM4
PWM5
POE0(POE[0])
POE1(POE[1])
(from clock
controller)
PDR0
PDR1
1
0
1
0
1
0
PWM Generator
in PWMB group
CP01(PPR[7:0])
1
0
CH0PINV
(PCR[1])
1
0
CH1PINV
(PCR[9])
Figure 6.9-6 PWM Generator 4 Architecture Diagram