Timer0 and Timer1 215 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
DESCRIPTION
The Timer is designed to count cycles of the peripheral clock (pclk) and optionally generate interrupts or perform other actions
at specified timer values, based on four match registers. It also includes four capture inputs to trap the timer value when an input
signal transitions, optionally generating an interrupt.
PIN DESCRIPTION
Table 156 gives a brief summary of each of the Timer related pins.
Table 156: Pin summary
Pin name Pin direction Pin 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. Also, if for example 2 pins are
selected to provide CAP0.2 function in parallel, their inputs will be logically ored and this
value will be processed as a single input.
CAP0.0 can be selected from/on up to 3 pins at the same time.
CAP0.1 can be selected from/on up to 2 pins at the same time.
CAP0.2 can be selected from/on up to 3 pins at the same time.
CAP0.3 can be selected from/on 1 pin.
CAP1.0 can be selected from/on 1 pin.
CAP1.1 can be selected from/on 1 pin.
CAP1.2 can be selected from/on up to 2 pins at the same time.
CAP1.3 can be selected from/on up to 2 pins at the same time.
MAT0.3...0
MAT1.0...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.
MAT0.0 can be selected on up to 2 pins at the same time.
MAT0.1 can be selected on up to 2 pins at the same time.
MAT0.2 can be selected on up to 2 pins at the same time.
MAT0.3 can be selected on 1 pin.
MAT1.0 can be selected on 1 pin.
MAT1.1 can be selected on 1 pin.
MAT1.2 can be selected on up to 2 pins at the same time.
MAT1.3 can be selected on up to 2 pins at the same time.