
NUC126
Aug. 08, 2018
Page
454
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
6.13.7
Register Description
PWM Control Register 0 (PWM_CTL0)
Register
Offset
R/W
Description
Reset Value
PWM_CTL0
0x00
R/W
PWM Control Register 0
0x0000_0000
31
30
29
28
27
26
25
24
DBGTRIOFF
DBGHALT
Reserved
GROUPEN
23
22
21
20
19
18
17
16
Reserved
IMMLDEN5
IMMLDEN4
IMMLDEN3
IMMLDEN2
IMMLDEN1
IMMLDEN0
15
14
13
12
11
10
9
8
Reserved
WINLDEN5
WINLDEN4
WINLDEN3
WINLDEN2
WINLDEN1
WINLDEN0
7
6
5
4
3
2
1
0
Reserved
CTRLD5
CTRLD4
CTRLD3
CTRLD2
CTRLD1
CTRLD0
Bits
Description
[31]
DBGTRIOFF
ICE Debug Mode Acknowledge Disable (Write Protect)
0 = ICE debug mode acknowledgement effects PWM output.
PWM pin will be forced as tri-state while ICE debug mode acknowledged.
1 = ICE debug mode acknowledgement Disabled.
PWM pin will keep output no matter ICE debug mode acknowledged or not.
Note:
This bit is write protected. Refer to SYS_REGLCTL register.
[30]
DBGHALT
ICE Debug Mode Counter Halt (Write Protect)
If counter halt is enabled, PWM all counters will keep current value until exit ICE debug
mode.
0 = ICE debug mode counter halt Disabled.
1 = ICE debug mode counter halt Enabled.
Note:
This bit is write protected. Refer to SYS_REGLCTL register.
[29:26]
Reserved
Reserved.
[24]
GROUPEN
Group Function Enable Bit
0 = The output waveform of each PWM channel are independent.
1 = Unify the PWMx_CH2 and PWMx_CH4 to output the same waveform as PWMx_CH0
and unify the PWMx_CH3 and PWMx_CH5 to output the same waveform as PWMx_CH1.
[23:22]
Reserved
Reserved.
[n+16]
n=0,1..5
IMMLDENn
Immediately Load Enable Bits
Each bit n controls the corresponding PWM channel n.
0 = PERIODn register will load to PBUFn register at the end point of each period.
CMPDATn register will load to CMPBUFn register at the end point or center point of each
period by setting CTRLDn bit.
1 = PERIODn/CMPDATn registers will load to PBUFn and CMPBUFn register immediately
when software update PERIODn/CMPDATn register.
Note:
If IMMLDENn bit is enabled, WINLDENn bit and CTRLDn bits will be invalid.