
NUC126
Aug. 08, 2018
Page
457
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
PWM Synchronization Register (PWM_SYNC)
Register
Offset
R/W
Description
Reset Value
PWM_SYNC
0x08
R/W
PWM Synchronization Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
PHSDIR4
PHSDIR2
PHSDIR0
23
22
21
20
19
18
17
16
SINPINV
SFLTCNT
SFLTCSEL
SNFLTEN
15
14
13
12
11
10
9
8
Reserved
SINSRC4
SINSRC2
SINSRC0
7
6
5
4
3
2
1
0
Reserved
PHSEN4
PHSEN2
PHSEN0
Bits
Description
[31:27]
Reserved
Reserved.
[n/2+24]
n=0,2,4
PHSDIRn
PWM Phase Direction Control
Each bit n controls corresponding PWM channel n.
0 = Control PWM counter count decrement after synchronizing.
1 = Control PWM counter count increment after synchronizing.
[23]
SINPINV
SYNC Input Pin Inverse
0 = The state of PWM0_SYNC_IN pin is passed to the negative edge detector.
1 = The inversed state of PWM0_SYNC_IN pin is passed to the negative edge detector.
[22:20]
SFLTCNT
SYNC Edge Detector Filter Count
The register bits control the counter number of edge detector.
[19:17]
SFLTCSEL
SYNC Edge Detector Filter Clock Selection
000 = Filter clock = HCLK.
001 = Filter clock = HCLK/2.
010 = Filter clock = HCLK/4.
011 = Filter clock = HCLK/8.
100 = Filter clock = HCLK/16.
101 = Filter clock = HCLK/32.
110 = Filter clock = HCLK/64.
111 = Filter clock = HCLK/128.
[16]
SNFLTEN
PWM0_SYNC_IN Noise Filter Enable Bit
0 = Noise filter of input PWM0_SYNC_IN pin Disabled.
1 = Noise filter of input PWM0_SYNC_IN pin Enabled.
[15:14]
Reserved
Reserved.
[n+9:n+8]
n=0,2,4
SINSRCn
PWM0_SYNC_IN Source Selection
Each bit n controls corresponding PWM channel n.