Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 165: TIMER/COUNTER0 and TIMER/COUNTER1 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 32-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 32-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 CAPn.0(CAP0.0 or
CAP1.0 respectively) input.
CR1
Capture Register 1. See CR0 description.
CR2
Capture Register 2. See CR0 description.
CR3
Capture Register 3. See CR0 description.
Note: CAP0.3 not available on Timer 0

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
RO
Rev. 01 — 12 January 2006
UM10161
Chapter 15: Timer0 and Timer1
TIMER/
[1]
value
COUNTER0
Address &
Name
0
0xE000 4000
T0IR
0
0xE000 4004
T0TCR
0
0xE000 4008
T0TC
0
0xE000 400C
T0PR
0
0xE000 4010
T0PC
0
0xE000 4014
T0MCR
0
0xE000 4018
T0MR0
0
0xE000 401C
T0MR1
0
0xE000 4020
T0MR2
0
0xE000 4024
T0MR3
0
0xE000 4028
T0CCR
0
0xE000 402C
T0CR0
0
0xE000 4030
T0CR1
0
0xE000 4034
T0CR2
0
0xE000 4038
T0CR3
Not usable
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
TIMER/
COUNTER1
Address &
Name
0xE000 8000
T1IR
0xE000 8004
T1TCR
0xE000 8008
T1TC
0xE000 800C
T1PR
0xE000 8010
T1PC
0xE000 8014
T1MCR
0xE000 8018
T1MR0
0xE000 801C
T1MR1
0xE000 8020
T1MR2
0xE000 8024
T1MR3
0xE000 8028
T1CCR
0xE000 802C
T1CR0
0xE000 8030
T1CR1
0xE000 8034
T1CR2
0xE000 8038
T1CR3
189

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents