© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
243
Philips Semiconductors
UM10139
Volume 1
Chapter 15: TIMER0 and TIMER1
15.5 Register description
Each Timer/Counter contains the registers shown in
. More detailed descriptions
follow.
Table 236: Timer/Counter pin description
Pin
Type
Description
CAP0.3..0
CAP1.3..0
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
MAT0.3..0
MAT1.3..0
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