![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1030](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271030.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1030 of 1441
NXP Semiconductors
UM10503
Chapter 32: LPC43xx/LPC43Sxx Timer0/1/2/3
32.6.11 Timer count control registers
The Count Control Register (CTCR) is used to select between Timer and Counter mode,
and in Counter mode to select the pin and edge(s) for counting.
7:6
EMC1
External Match Control 1. Determines the functionality of
External Match 1.
00
0x0
Do Nothing.
0x1
Clear. Clear the corresponding External Match bit/output to 0
(MATn.m pin is LOW if pinned out).
0x2
Set. Set the corresponding External Match bit/output to 1
(MATn.m pin is HIGH if pinned out).
0x3
Toggle. Toggle the corresponding External Match bit/output.
9:8
EMC2
External Match Control 2. Determines the functionality of
External Match 2.
00
0x0
Do Nothing.
0x1
Clear. Clear the corresponding External Match bit/output to 0
(MATn.m pin is LOW if pinned out).
0x2
Set. Set the corresponding External Match bit/output to 1
(MATn.m pin is HIGH if pinned out).
0x3
Toggle. Toggle the corresponding External Match bit/output.
11:10 EMC3
External Match Control 3. Determines the functionality of
External Match 3.
00
0x0
Do Nothing.
0x1
Clear. Clear the corresponding External Match bit/output to 0
(MATn.m pin is LOW if pinned out).
0x2
Set. Set the corresponding External Match bit/output to 1
(MATn.m pin is HIGH if pinned out).
0x3
Toggle. Toggle the corresponding External Match bit/output.
31:12 -
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
Table 797. External Match Control
EMR[11:10], EMR[9:8],
EMR[7:6], or EMR[5:4]
Function
00
Do Nothing.
01
Clear the corresponding External Match bit/output to 0 (MATn.m pin is
LOW if pinned out).
10
Set the corresponding External Match bit/output to 1 (MATn.m pin is
HIGH if pinned out).
11
Toggle the corresponding External Match bit/output.
Table 796. Timer external match registers (EMR, addresses 0x4008 403C (TIMER0),
0x4008 503C (TIMER1), 0x400C 303C (TIMER2), 0x400C 403C (TIMER3)) bit
description
Bit
Symbol Value
Description
Reset
value