
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
213 of 464
NXP Semiconductors
UM10850
Chapter 14: LPC5410x Standard counter/timers (CT32B0/1/2/3/4)
14.7.8 Capture Control Register
The Capture Control Register is used to control whether one of the four Capture Registers
is loaded with the value in the Timer Counter when the capture event occurs, and whether
an interrupt is generated by the capture event. Setting both the rising and falling bits at the
same time is a valid configuration, resulting in a capture event for both edges. In the
description below, "n" represents the timer number, 0 or 1.
Note: If Counter mode is selected for a particular CAP input in the CTCR, the 3 bits for
that input in this register should be programmed as 000, but capture and/or interrupt can
be selected for the other 3 CAP inputs.
Table 255. Timer match registers (MR[0:3], address offset [0x018:0x024]) bit description
Bit
Symbol
Description
Reset value
31:0
MATCH
Timer counter match value.
0
Table 256. Address map CCR register
Peripheral
Base address
Offset
Increment
Dimension
CT32B0
0x400B 4000
0x028
-
1
CT32B1
0x400B 8000
0x028
-
1
CT32B2
0x4000 4000
0x028
-
1
CT32B3
0x4000 8000
0x028
-
1
CT32B4
0x4000 C000
0x028
-
1
Table 257. Capture Control Register (CCR, address offset 0x028) bit description
Bit
Symbol
Description
Reset
Value
0
CAP0RE
Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
1
CAP0FE
Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
2
CAP0I
Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt.
0
3
CAP1RE
Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
4
CAP1FE
Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
5
CAP1I
Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt.
0
6
CAP2RE
Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
7
CAP2FE
Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
8
CAP2I
Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt.
0
9
CAP3RE
Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
10
CAP3FE
Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the
contents of TC. 0 = disabled. 1 = enabled.
0
11
CAP3I
Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt.
0
31:12
-
Reserved. Read value is undefined, only zero should be written.
NA