
NUC126
Aug. 08, 2018
Page
418
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
Prescaler0
12bits
Interrupt
Generator
Trigger
Generator
IRQ_MUX
ADC
PWM0_CH0
Trigger Events
Interrupt Events
Prescaler2
12bits
Prescaler4
12bits
PWM0_CH1
PWM0_BRAKE0
PWM0_SYNC_IN
PWM0_CLK0
PWM0_BRAKE1
PWM0_CH2
PWM0_CH3
PWM0_CH4
Pulse
Generator4
Output
Control4
16
16
16
PWM0_CH5
Comparator4
Counter4
Comparator5
PWM0_BRAKE0
PWM0_BRAKE1
16
Free Trigger
Comparator4
Pulse
Generator2
Output
Control2
16
16
PWM0_BRAKE0
PWM0_BRAKE1
16
Comparator2
Counter2
Free Trigger
Comparator2
Pulse
Generator0
Output
Control0
16
16
16
PWM0_BRAKE0
PWM0_BRAKE1
16
16
Comparator3
Comparator1
Comparator0
Counter0
Free Trigger
Comparator0
S
y
n
c
h
ro
n
o
u
s
S
ig
n
a
l
S
y
n
c
h
ro
n
o
u
s
S
ig
n
a
l
i
i
i
t
i
b
b
b
b
b
b
b
b
b
b
i
t
denotes interrupt events
denotes trigger events
denotes interrupt and trigger events
Note:
PWM0_CLK2
PWM0_CLK4
Figure 6.13-5 PWM Complementary Mode Architecture Diagram
6.13.4
Basic Configuration
6.13.4.1 Basic Configuration of PWM0
Clock source Configuration
–
Select the source of PWM0 peripheral clock on PWM0SEL (CLK_CLKSEL1[28]).
–
Enable PWM0 peripheral clock in PWM0CKEN(CLK_APBCLK0[20]).
Reset Configuration
–
Reset PWM0 peripheral in PWM0RST (SYS_IPRST1[20]).
Pin Configuration
Group
Pin Name
GPIO
MFP
PWM0
PWM0_BRAKE0
PD.4
MFP5
PD.2
MFP6
PA.8
MFP7
PWM0_BRAKE1
PD.5
MFP5
PD.3
MFP6