NUMICRO-SDK Nuvoton Technology Corporation of America, NUMICRO-SDK Datasheet - Page 290

KIT EVAUATION NUC100/120/130/140

NUMICRO-SDK

Manufacturer Part Number
NUMICRO-SDK
Description
KIT EVAUATION NUC100/120/130/140
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro™r
Type
MCUr
Datasheets

Specifications of NUMICRO-SDK

Contents
Board, Cable, CD, Nu-Link
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
NUC100, NUC120, NUC130, NUC140

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NUMICRO-SDK
Manufacturer:
Nuvoton Technology Corporation
Quantity:
135
Part Number:
NUMICRO-SDK
Manufacturer:
NuvoTon
Quantity:
69
5.7.4.2
PWM Timers have double buffering function the reload value is updated at the start of next period
without affecting current timer operation. The PWM counter value can be written into CNRx and
current PWM counter value can be read from PDRx.
The bit CH0MOD in PWM Control Register (PCR) defines PWM0 operates in auto-reload or one-
shot mode If CH0MOD is set to one, the auto-reload operation loads CNR0 to PWM counter when
PWM counter reaches zero. If CNR0 are set to zero, PWM counter will be halt when PWM
counter counts to zero. If CH0MOD is set as zero, counter will be stopped immediately.
PWM1~PWM7 performs the same function as PWM0.
down-counter
PWM-Timer
Comparator
write a nonzero number to
prescaler & setup clock
dividor
Waveform
output
(CMR)
PWM
PWM
PWM Double Buffering, Auto-reload and One-shot Operation
(Write initial setting)
Auto reload = 1
(CHxMOD=1)
NuMicro™ NUC100 Series Technical Reference Manual
CMR = 1
CNR = 3
(PWM-Timer starts running)
CNR=150
CMR=50
Write
3
1
Set ChxEN=1
Start
Figure 5-42 PWM Double Buffering Illustration
Figure 5-41 PWM-Timer Operation Timing
3
CNR=199
CMR=49
Write
151
2
(S/W write new value)
1
51
1
- 290 -
CMR = 0
CNR = 4
(PWMIFx is set by H/W)
0
(H/W update value)
CNR=99
Auto-load
CMR=0
Write
Publication Release Date: Dec. 22, 2010
4
200
3
50
2
0
CMR=XX
CNR=0
Write
1
100
Revision V1.06
(PWMIFx is set by H/W)
1
Stop
0
Auto-load
4

Related parts for NUMICRO-SDK