![NXP Semiconductors LCP43 Series User Manual Download Page 857](http://html1.mh-extra.com/html/nxp-semiconductors/lcp43-series/lcp43-series_user-manual_1721817857.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
857 of 1269
NXP Semiconductors
UM10503
Chapter 29: LPC43xx Timer0/1/2/3
29.6.7 Timer match registers (MR0 - MR3)
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.
29.6.8 Timer capture control registers
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.
Remark:
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 690. Timer match registers (MR[0:3], addresses 0x4008 4018 (MR0) to 0x4008 4024
(M3) (TIMER0), 0x4008 5018 (MR0) to 0x4008 5024 (MR3)(TIMER1), 0x400C 3018
(MR0) to 0x400C 8024 (MR3) (TIMER2), 0x400C 4018 (MR0) to 0x400C 4024
(MR3)(TIMER3)) bit description
Bit
Symbol
Description
Reset
value
31:0
MATCH
Timer counter match value.
0
Table 691. Timer capture control registers (CCR - addresses 0x4008 4028 (TIMER0),
0x4008 5020 (TIMER1), 0x400C 3028 (TIMER2), 0x400C 4028 (TIMER3)) bit
description
Bit
Symbol
Value Description
Reset
value
0
CAP0RE
Capture on CAPn.0 rising edge
0
1
A sequence of 0 then 1 on CAPn.0 will cause CR0 to be loaded
with the contents of TC.
0
This feature is disabled.
1
CAP0FE
Capture on CAPn.0 falling edge
0
1
A sequence of 1 then 0 on CAPn.0 will cause CR0 to be loaded
with the contents of TC.
0
This feature is disabled.
2
CAP0I
Interrupt on CAPn.0 event
0
1
A CR0 load due to a CAPn.0 event will generate an interrupt.
0
This feature is disabled.
3
CAP1RE
Capture on CAPn.1 rising edge
0
1
A sequence of 0 then 1 on CAPn.1 will cause CR1 to be loaded
with the contents of TC.
0
This feature is disabled.
4
CAP1FE
Capture on CAPn.1 falling edge
0
1
A sequence of 1 then 0 on CAPn.1 will cause CR1 to be loaded
with the contents of TC.
0
This feature is disabled.