UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
123 of 258
NXP Semiconductors
UM10429
Chapter 13: LPC11102 32-bit counter/timers (CT32B0/1)
13.7.7 Match Registers (TMR32B0MR0/1/2/3 and TMR32B1MR0/1/2/3)
The Match register values are continuously compared to the Timer Counter value. When
the two values are equal, actions can be triggered automatically. The action possibilities
are to generate an interrupt, reset the Timer Counter, or stop the timer. Actions are
controlled by the settings in the MCR register.
13.7.8 Capture Control Register (TMR32B1CCR)
The Capture Control Register is used to control whether the Capture Register 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.
8
MR2S
Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches
the TC.
0
1
Enabled
0
Disabled
9
MR3I
Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC.
0
1
Enabled
0
Disabled
10
MR3R
Reset on MR3: the TC will be reset if MR3 matches it.
0
1
Enabled
0
Disabled
11
MR3S
Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches
the TC.
0
1
Enabled
0
Disabled
31:12
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
Table 121. Match Control Register (TMR32B0MCR - address 0x4001 4014 and TMR32B1MCR - address 0x4001 8014)
bit description
Bit
Symbol
Value Description
Reset
value
Table 122. Match registers (TMR32B0MR0 to 3, addresses 0x4001 4018 to 24 and
TMR32B1MR0 to 3, addresses 0x4001 8018 to 24) bit description
Bit
Symbol
Description
Reset
value
31:0
MATCH
Timer counter match value.
0
Table 123. Capture Control Register (TMR32B1CCR - address 0x4001 8028) bit description
Bit
Symbol
Value Description
Reset
value
0
CAP0RE
Capture on CT32Bn_CAP0 rising edge: a sequence of 0 then 1 on CT32Bn_CAP0 will
cause CR0 to be loaded with the contents of TC.
0
1
Enabled
0
Disabled