
NUC126
Aug. 08, 2018
Page
674
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
is enabled/disabled. If CTRLD is disabled, CMP will load to CMPBUF when current PWM
period is completed; if CTRLD is enabled in up-down count type, CMP will load to
CMPBUF at the center point of current period.
1 = PERIOD/CMP will load to PBUF/CMPBUF immediately when user update
PERIOD/CMP.
Note:
If IMMLDEN is enabled, CTRLD will be invalid.
[8]
CTRLD
Center Re-load
In up-down count type, PERIOD will load to PBUF when current PWM period is completed
always and CMP will load to CMPBUF at the center point of current period.
[7:4]
Reserved
Reserved.
[3]
CNTMODE
PWM Counter Mode
0 = Auto-reload mode.
1 = One-shot mode.
[2:1]
CNTTYPE
PWM Counter Behavior Type
00 = Up count type.
01 = Down count type.
10 = Up-down count type.
11 = Reserved.
[0]
CNTEN
PWM Counter Enable Bit
0 = PWM counter and clock prescale Stop Running.
1 = PWM counter and clock prescale Start Running.