Philips LPC213 Series User Manual page 173

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 145: TIMER/COUNTER0 and TIMER/COUNTER1 register map
Generic
Description
Name
CR3
Capture Register 3. See CR0 description.
EMR
External Match Register. The EMR controls the
external match pins MATn.0-3 (MAT0.0-3 and
MAT1.0-3 respectively).
CTCR
Count Control Register. The CTCR selects between
Timer and Counter mode, and in Counter mode
selects the signal and edge(s) for counting.
[1]
14.5.1 Interrupt Register (IR, TIMER0: T0IR - 0xE000 4000 and TIMER1: T1IR
- 0xE000 8000)
The Interrupt Register consists of four bits for the match interrupts and four bits for the
capture interrupts. If an interrupt is generated then the corresponding bit in the IR will be
high. Otherwise, the bit will be low. Writing a logic one to the corresponding IR bit will reset
the interrupt. Writing a zero has no effect.
Table 146: Interrupt Register (IR, TIMER0: T0IR - address 0xE000 4000 and TIMER1: T1IR - address 0xE000 8000) bit
description
Bit
Symbol
0
MR0 Interrupt
1
MR1 Interrupt
2
MR2 Interrupt
3
MR3 Interrupt
4
CR0 Interrupt
5
CR1 Interrupt
6
CR2 Interrupt
7
CR3 Interrupt
14.5.2 Timer Control Register (TCR, TIMER0: T0TCR - 0xE000 4004 and
TIMER1: T1TCR - 0xE000 8004)
The Timer Control Register (TCR) is used to control the operation of the Timer/Counter.
User manual
Reset value relects the data stored in used bits only. It does not include reserved bits content.
Description
Interrupt flag for match channel 0.
Interrupt flag for match channel 1.
Interrupt flag for match channel 2.
Interrupt flag for match channel 3.
Interrupt flag for capture channel 0 event.
Interrupt flag for capture channel 1 event.
Interrupt flag for capture channel 2 event.
Interrupt flag for capture channel 3 event.
Rev. 01 — 24 June 2005
Chapter 14: TIMER0 and TIMER1
Access Reset
TIMER/
[1]
value
COUNTER0
Address & Name
RO
0
0xE000 4038
T0CR3
R/W
0
0xE000 403C
T0EMR
R/W
0
0xE000 4070
T0CTCR
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10120
TIMER/
COUNTER1
Address & Name
0xE000 8038
T1CR3
0xE000 803C
T1EMR
0xE000 8070
T1CTCR
Reset value
0
0
0
0
0
0
0
0
173

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents