NUTINY-SDK-M0516 Nuvoton Technology Corporation of America, NUTINY-SDK-M0516 Datasheet - Page 196

no-image

NUTINY-SDK-M0516

Manufacturer Part Number
NUTINY-SDK-M0516
Description
BOARD EVAL NUMICRO M051 SERIES
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Type
MCUr
Datasheets

Specifications of NUTINY-SDK-M0516

Contents
Board, Cable
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
M051™ Series, M052/M054/M058/M0516
6.6.4.5 Capture Operation
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 module 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.
Capture Input x
PWM Counter
NuMicro M051
CAPCHxEN
Note: X=0~7
CRL_IEx
CFL_IEx
CRLRIx
CAPIFx
CFLRIx
CRLRx
CFLRx
Figure 6.6-14 Capture Operation Timing
3
Set by H/W
Set by H/W
2
Series Technical Reference Manual
1
- 196 -
8
Reload
(If CNRx = 8)
Clear by S/W
Clear by S/W
1
7
Set by H/W
6
Publication Release Date: Sep 14, 2010
5
8
Reload
5
Clear by S/W
7
No reload due to
no CAPIFx
6
7
Revision V1.2
5
4

Related parts for NUTINY-SDK-M0516