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

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.5
5.7.4.6
The Capture 0 and PWM 0 share one timer that included in PWM 0; and the Capture 1 and PWM
1 share another timer, and etc. The capture always latches PWM-counter to CRLRx when input
channel has a rising transition and latches PWM-counter to CFLRx when input channel has a
falling transition. Capture channel 0 interrupt is programmable by setting CCR0[1] (Rising latch
Interrupt enable) and CCR0[2] (Falling latch Interrupt enable) to decide the condition of interrupt
occur. Capture channel 1 has the same feature by setting CCR0[17] and CCR0[18], and etc.
Whenever the Capture controller issues a capture interrupt, the corresponding PWM counter will
be reloaded with CNRx at this moment. Note that the corresponding GPIO pins must be
configured as capture function (disable POE and enable CAPENR) for the corresponding capture
channel.
At this case, the CNR is 8:
There are eight PWM interrupts, PWM0_INT~PWM7_INT, which are divided into PWMA_INT and
1. The PWM counter will be reloaded with CNRx when a capture interrupt flag (CAPIFx) is
2. The channel low pulse width is (CNR + 1 - CRLR).
3. The channel high pulse width is (CNR + 1 - CFLR).
Capture Operation
PWM-Timer Interrupt Architecture
set.
NuMicro™ NUC100 Series Technical Reference Manual
Note: X=0~3
Capture Input x
PWM Counter
CAPCHxEN
CRL_IEx
CFL_IEx
CRLRIx
CAPIFx
CFLRIx
CRLRx
CFLRx
Figure 5-45 Capture Operation Timing
Set by H/W
Set by H/W
3
2
1
- 292 -
8
1
Reload
(If CNRx = 8)
Clear by S/W
Clear by S/W
7
Set by H/W
6
Publication Release Date: Dec. 22, 2010
5
8
Reload
5
Clear by S/W
7
No reload due to
no CAPIFx
6
7
5
Revision V1.06
4

Related parts for NUMICRO-SDK