UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
207 of 464
NXP Semiconductors
UM10850
Chapter 14: LPC5410x Standard counter/timers (CT32B0/1/2/3/4)
14.6 Pin description
gives a brief summary of each of the Timer/Counter related pins.
Recommended IOCON settings are shown in
14.6.1 Multiple CAP and MAT pins
Software can select from multiple pins for the CAP or MAT functions in the IOCON
registers, which are described in
. Note that match conditions may be used
internally without the use of a device pin.
Table 239. Timer/Counter pin description
Pin
Type
Description
CT32B0_CAP3:0
CT32B1_CAP3:0
CT32B2_CAP3:0
CT32B3_CAP3: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 timer channel, the pin with the lowest Port number is used
Timer/Counter block can select a capture signal as a clock source instead of the PCLK
derived clock. For more details see
.
CT32B0_MAT1:0
CT32B1_MAT1:0
CT32B2_MAT3:0
CT32B3_MAT1:0
Output
External Match Output - When a match register (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.
Table 240: Suggested CT32B timer pin settings
IOCON
bit(s)
Type D pin
Type A pin
Type I pin
10
OD: Set to 0 unless open-drain output is desired.
Same as type D.
I2CFILTER: Set to 1
9
SLEW: Generally set to 0.
Not used, set to 0
I2CDRIVE: Set to 0.
8
FILTEROFF: Generally set to 1.
Same as type D.
Same as type D.
7
DIGIMODE: Set to 1.
Same as type D.
Same as type D.
6
INVERT: Set to 0.
Same as type D.
Same as type D.
5
Not used, set to 0.
Same as type D.
I2CSLEW: Set to 1.
4:3
MODE: Set to 00 (pull-down/pull-up resistor not enabled).
Could be another setting if the input might sometimes be
floating (causing leakage within the pin input).
Same as type D.
Not used, set to 0.
2:0
FUNC: Must select the correct function for this peripheral. Same as type D.
Same as type D.
General
comment
A good choice for timer capture input or match output.
A reasonable choice
for timer capture input
or match output.
Not recommended for timer
match outputs.