Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 175: TIMER/COUNTER2 and TIMER/CT3OUNTER3 register map
Generic
Description
Name
IR
Interrupt Register. The IR can be written to clear
interrupts. The IR can be read to identify which of
eight possible interrupt sources are pending.
TCR
Timer Control Register. The TCR is used to control
the Timer Counter functions. The Timer Counter can
be disabled or reset through the TCR.
TC
Timer Counter. The 16-bit TC is incremented every
PR+1 cycles of PCLK. The TC is controlled through
the TCR.
PR
Prescale Register. The Prescale Counter (below) is
equal to this value. The next clock increments the
TC and clears the PC.
PC
Prescale Counter. The 16-bit PC is a counter which
is incremented to the value stored in PR. When the
value in PR is reached, the TC is incremented and
the PC is cleared. The PC is observable and
controllable through the bus interface.
MCR
Match Control Register. The MCR is used to control
if an interrupt is generated and if the TC is reset
when a Match occurs.
MR0
Match Register 0. MR0 can be enabled through the
MCR to reset the TC, stop both the TC and PC,
and/or generate an interrupt every time MR0
matches the TC.
MR1
Match Register 1. See MR0 description.
MR2
Match Register 2. See MR0 description.
MR3
Match Register 3. See MR0 description.
CCR
Capture Control Register. The CCR controls which
edges of the capture inputs are used to load the
Capture Registers and whether or not an interrupt is
generated when a capture takes place.
CR0
Capture Register 0. CR0 is loaded with the value of
TC when there is an event on the CAP2.0 input.
Note: CAP3.0 not usable on Timer 3
CR1
Capture Register 1. See CR0 description.
Note: CAP3.1 not usable on Timer 3
CR2
Capture Register 2. See CR0 description.
Note: CAP3.2 not usable on Timer 3

User manual

Access Reset
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
Rev. 01 — 12 January 2006
UM10161
Chapter 16: Timer2 and Timer3
TIMER/
[1]
value
COUNTER2
Address &
Name
0
0xE007 0000
T2IR
0
0xE007 0004
T2TCR
0
0xE007 0008
T2TC
0
0xE007 000C
T2PR
0
0xE007 0010
T2PC
0
0xE007 0014
T2MCR
0
0xE007 0018
T2MR0
0
0xE007 001C
T2MR1
0
0xE007 0020
T2MR2
0
0xE007 0024
T2MR3
0
0xE007 0028
T2CCR
0
0xE007 002C
T2CR0
0
0xE007 0030
T2CR1
0
0xE007 0034
T2CR2
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
TIMER/
COUNTER3
Address &
Name
0xE007 4000
T3IR
0xE007 4004
T3TCR
0xE007 4008
T3TC
0xE007 400C
T3PR
0xE007 4010
T3PC
0xE007 4014
T3MCR
0xE007 4018
T3MR0
0xE007 401C
T3MR1
0xE007 4020
T3MR2
0xE007 4024
T3MR3
0xE007 4028
T3CCR
0xE007 402C
T3CR0
0xE007 4030
T3CR1
0xE007 4034
T3CR2
202

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents