Philips LPC213 Series User Manual page 171

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 144: Timer/Counter pin description
Pin
CAP0.3..0
CAP1.3..0
MAT0.3..0
MAT1.3..0
14.5 Register description
Each Timer/Counter contains the registers shown in
follow.
User manual
Type
Description
Input
Capture Signals- A transition on a capture pin can be configured to
load one of the Capture Registers with the value in the Timer Counter
and optionally generate an interrupt. Capture functionality can be
selected from a number of pins. When more than one pin is selected
for a Capture input on a single TIMER0/1 channel, the pin with the
lowest Port number is used. If for example pins 30 (P0.6) and 46
(P0.16) are selected for CAP0.2, only pin 30 will be used by TIMER0 to
perform CAP0.2 function.
Here is the list of all CAPTURE signals, together with pins on where
they can be selected:
CAP0.0 (3 pins) : P0.2, P0.22 and P0.30
CAP0.1 (2 pins) : P0.4 and P0.27
CAP0.2 (3 pin) : P0.6, P0.16 and P0.28
CAP0.3 (1 pin) : P0.29
CAP1.0 (1 pin) : P0.10
CAP1.1 (1 pin) : P0.11
CAP1.2 (2 pins) : P0.17 and P0.19
CAP1.3 (2 pins) : P0.18 and P0.21
Timer/Counter block can select a capture signal as a clock source
instead of the PCLK derived clock. For more details see
"Count Control Register (CTCR, TIMER0: T0CTCR - 0xE000 4070
and TIMER1: T1TCR - 0xE000 8070)" on page
Output
External Match Output 0/1- When a match register 0/1 (MR3:0) equals
the timer counter (TC) this output can either toggle, go low, go high, or
do nothing. The External Match Register (EMR) controls the
functionality of this output. Match Output functionality can be selected
on a number of pins in parallel. It is also possible for example, to have
2 pins selected at the same time so that they provide MAT1.3 function
in parallel.
Here is the list of all MATCH signals, together with pins on where they
can be selected:
MAT0.0 (2 pins) : P0.3 and P0.22
MAT0.1 (2 pins) : P0.5 and P0.27
MAT0.2 (2 pin) : P0.16 and P0.28
MAT0.3 (1 pin) : P0.29
MAT1.0 (1 pin) : P0.12
MAT1.1 (1 pin) : P0.13
MAT1.2 (2 pins) : P0.17 and P0.19
MAT1.3 (2 pins) : P0.18 and P0.20
Rev. 01 — 24 June 2005
UM10120
Chapter 14: TIMER0 and TIMER1
Section 14.5.3
174.
Table
145. More detailed descriptions
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents