© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
Rev. 01 — 12 January 2006
189
Philips Semiconductors
UM10161
Volume 1
Chapter 15: Timer0 and Timer1
Table 165: TIMER/COUNTER0 and TIMER/COUNTER1 register map
Generic
Name
Description
Access
Reset
value
TIMER/
COUNTER0
Address &
Name
TIMER/
COUNTER1
Address &
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.
R/W
0
0xE000 4000
T0IR
0xE000 8000
T1IR
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.
R/W
0
0xE000 4004
T0TCR
0xE000 8004
T1TCR
TC
Timer Counter. The 32-bit TC is incremented every
PR+1 cycles of PCLK. The TC is controlled through
the TCR.
R/W
0
0xE000 4008
T0TC
0xE000 8008
T1TC
PR
Prescale Register. The Prescale Counter (below) is
equal to this value. The next clock increments the TC
and clears the PC.
R/W
0
0xE000 400C
T0PR
0xE000 800C
T1PR
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.
R/W
0
0xE000 4010
T0PC
0xE000 8010
T1PC
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.
R/W
0
0xE000 4014
T0MCR
0xE000 8014
T1MCR
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.
R/W
0
0xE000 4018
T0MR0
0xE000 8018
T1MR0
MR1
Match Register 1. See MR0 description.
R/W
0
0xE000 401C
T0MR1
0xE000 801C
T1MR1
MR2
Match Register 2. See MR0 description.
R/W
0
0xE000 4020
T0MR2
0xE000 8020
T1MR2
MR3
Match Register 3. See MR0 description.
R/W
0
0xE000 4024
T0MR3
0xE000 8024
T1MR3
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.
R/W
0
0xE000 4028
T0CCR
0xE000 8028
T1CCR
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.
RO
0
0xE000 402C
T0CR0
0xE000 802C
T1CR0
CR1
Capture Register 1. See CR0 description.
RO
0
0xE000 4030
T0CR1
0xE000 8030
T1CR1
CR2
Capture Register 2. See CR0 description.
RO
0
0xE000 4034
T0CR2
0xE000 8034
T1CR2
CR3
Capture Register 3. See CR0 description.
Note:
CAP0.3 not available on Timer 0
RO
0
0xE000 4038
T0CR3
Not usable
0xE000 8038
T1CR3