NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
283
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
Capture Control Register (CCR2)
Register
Offset
R/W
Description
Reset Value
CCR2
0x54
R/W
PWM Capture Control Register 2
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
CFLRI3
CRLRI3
Reserved
CAPIF3
CAPCH3EN
CFL_IE3
CRL_IE3
INV3
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
CFLRI2
CRLRI2
Reserved
CAPIF2
CAPCH2EN
CFL_IE2
CRL_IE2
INV2
Bits
Description
[31:24]
Reserved
Reserved.
[23]
CFLRI3
CFLR3 Latched Indicator
When PWM group input channel 3 has a falling transition, CFLR3 was latched with the
value of PWM down-counter and this bit is set by hardware.
Software can write 0 to clear this bit to 0 if the BCn bit is 0, and can write 1 to clear this bit
to 0 if the BCn bit is 1.
[22]
CRLRI3
CRLR3 Latched Indicator
When PWM group input channel 3 has a rising transition, CRLR3 was latched with the
value of PWM down-counter and this bit is set by hardware.
Software can write 0 to clear this bit to 0 if the BCn bit is 0, and can write 1 to clear this bit
to 0 if the BCn bit is 1.
[21]
Reserved
Reserved.
[20]
CAPIF3
Channel 3 Capture Interrupt Indication Flag
If PWM group channel 3 rising latch interrupt is enabled (CRL_IE3=1), a rising transition
occurs at PWM group channel 3 will result in CAPIF3 to high; Similarly, a falling transition
will cause CAPIF3 to be set high if PWM group channel 3 falling latch interrupt is enabled
(CFL_IE3=1).
Write 1 to clear this bit to 0
[19]
CAPCH3EN
Channel 3 Capture Function Enable Bit
0 = Capture function on PWM group channel 3 Disabled.
1 = Capture function on PWM group channel 3 Enabled.
When Enabled, Capture latched the PWM-counter and saved to CRLR (Rising latch) and
CFLR (Falling latch).
When Disabled, Capture does not update CRLR and CFLR, and disable PWM group
channel 3 Interrupt.
[18]
CFL_IE3
Channel 3 Falling Latch Interrupt Enable Bit
0 = Falling latch interrupt Disabled.
1 = Falling latch interrupt Enabled.