Register Description; Table 156: Timer0 And Timer1 Register Map - Philips LPC2194 User Manual

Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller

REGISTER DESCRIPTION

Each Timer contains the registers shown in Table 157. More detailed descriptions follow.
Table 157: TIMER0 and TIMER1 Register Map
Generic
Name
Interrupt Register. The IR can be written to clear interrupts. The IR
IR
can be read to identify which of eight possible interrupt sources are
pending.
Timer Control Register. The TCR is used to control the Timer
TCR
Counter functions. The Timer Counter can be disabled or reset
through the TCR.
Timer Counter. The 32-bit TC is incremented every PR+1 cycles of
TC
pclk. The TC is controlled through the TCR.
Prescale Register. The TC is incremented every PR+1 cycles of
PR
pclk.
Prescale Counter. The 32-bit PC is a counter which is incremented
PC
to the value stored in PR. When the value in PR is reached, the TC
is incremented.
Match Control Register. The MCR is used to control if an interrupt
MCR
is generated and if the TC is reset when a Match occurs.
Match Register 0. MR0 can be enabled through the MCR to reset
MR0
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.
Capture Control Register. The CCR controls which edges of the
CCR
capture inputs are used to load the Capture Registers and whether
or not an interrupt is generated when a capture takes place.
Capture Register 0. CR0 is loaded with the value of TC when there
CR0
is an event on the CAP0.0(CAP1.0) input.
CR1
Capture Register 1. See CR0 description.
CR2
Capture Register 2. See CR0 description.
CR3
Capture Register 3. See CR0 description.
External Match Register. The EMR controls the external match pins
EMR
MAT0.0-3 (MAT1.0-3).
*Reset Value refers to the data stored in used bits only. It does not include reserved bits content.
Timer0 and Timer1
Description
216
LPC2119/2129/2194/2292/2294
TIMER0
Reset
Access
Address &
Value*
Name
0xE0004000
R/W
0
T0IR
0xE0004004
R/W
0
T0TCR
0xE0004008
RW
0
T0TC
0xE000400C
R/W
0
T0PR
0xE0004010
R/W
0
T0PC
0xE0004014
R/W
0
T0MCR
0xE0004018
R/W
0
T0MR0
0xE000401C
R/W
0
T0MR1
0xE0004020
R/W
0
T0MR2
0xE0004024
R/W
0
T0MR3
0xE0004028
R/W
0
T0CCR
0xE000402C
RO
0
T0CR0
0xE0004030
RO
0
T0CR1
0xE0004034
RO
0
T0CR2
0xE0004038
RO
0
T0CR3
0xE000403C
R/W
0
T0EMR
Preliminary User Manual
TIMER1
Address &
Name
0xE0008000
T1IR
0xE0008004
T1TCR
0xE0008008
T1TC
0xE000800C
T1PR
0xE0008010
T1PC
0xE0008014
T1MCR
0xE0008018
T1MR0
0xE000801C
T1MR1
0xE0008020
T1MR2
0xE0008024
T1MR3
0xE0008028
T1CCR
0xE000802C
T1CR0
0xE0008030
T1CR1
0xE0008034
T1CR2
0xE0008038
T1CR3
0xE000803C
T1EMR
May 03, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2119Lpc2292Lpc2294

Table of Contents