
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
212 of 464
NXP Semiconductors
UM10850
Chapter 14: LPC5410x Standard counter/timers (CT32B0/1/2/3/4)
14.7.7 Match Registers
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.
CT32B2
0x4000 4000
0x014
-
1
CT32B3
0x4000 8000
0x014
-
1
CT32B4
0x4000 C000
0x014
-
1
Table 252. Address map MCR register
Peripheral
Base address
Offset
Increment
Dimension
Table 253. Match Control Register (MCR, address offset 0x014) bit description
Bit
Symbol
Description
Reset
Value
0
MR0I
Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 = disabled.
1 = enabled.
0
1
MR0R
Reset on MR0: the TC will be reset if MR0 matches it. 0 = disabled. 1 = enabled.
0
2
MR0S
Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC.
0 = disabled. 1 = enabled.
0
3
MR1I
Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 0 = disabled.
1 = enabled. 0 = disabled. 1 = enabled.
0
4
MR1R
Reset on MR1: the TC will be reset if MR1 matches it. 0 = disabled. 1 = enabled.
0
5
MR1S
Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC.
0 = disabled. 1 = enabled.
0
6
MR2I
Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 0 = disabled.
1 = enabled.
0
7
MR2R
Reset on MR2: the TC will be reset if MR2 matches it. 0 = disabled. 1 = enabled.
0
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 = disabled. 1 = enabled.
0
9
MR3I
Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 0 = disabled.
1 = enabled.
0
10
MR3R
Reset on MR3: the TC will be reset if MR3 matches it. 0 = disabled. 1 = enabled.
0
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 = disabled. 1 = enabled.
0
31:12 -
Reserved. Read value is undefined, only zero should be written.
NA
Table 254. Address map MR[0:3] registers
Peripheral
Base address
Offset
Increment
Dimension
CT32B0
0x400B 4000
[0x018:0x024]
0x4
4
CT32B1
0x400B 8000
[0x018:0x024]
0x4
4
CT32B2
0x4000 4000
[0x018:0x024]
0x4
4
CT32B3
0x4000 8000
[0x018:0x024]
0x4
4
CT32B4
0x4000 C000
[0x018:0x024]
0x4
4