![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1029](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271029.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
1029 of 1441
NXP Semiconductors
UM10503
Chapter 32: LPC43xx/LPC43Sxx Timer0/1/2/3
32.6.10 Timer external match registers
The External Match Register provides both control and status of the external match pins.
In the descriptions below, “n” represents the Timer number, 0 or 1, and “m” represent a
Match number, 0 through 3.
Match events for Match 0 and Match 1 in each timer can cause a DMA request, see
Table 795. Timer capture registers (CR[0:3], address 0x4008 402C (CR0) to 0x4008 4038
(CR3) (TIMER0), 0x4008 502C (CR0) to 0x4008 5038 (CR3) (TIMER1), 0x400C 302C
(CR0) to 0x400C 3038 (CR3) (TIMER2), 0x400C 402C (CR0) to 0x400C 4038 (CR3)
(TIMER3)) bit description
Bit
Symbol
Description
Reset
value
31:0
CAP
Timer counter capture value.
0
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
0
EM0
External Match 0. When a match occurs between the TC and
MR0, this bit can either toggle, go low, go high, or do nothing,
depending on bits 5:4 of this register. This bit can be driven
onto a MATn.0 pin, in a positive-logic manner (0 = low,
1 = high).
0
1
EM1
External Match 1. When a match occurs between the TC and
MR1, this bit can either toggle, go low, go high, or do nothing,
depending on bits 7:6 of this register. This bit can be driven
onto a MATn.1 pin, in a positive-logic manner (0 = low,
1 = high).
0
2
EM2
External Match 2. When a match occurs between the TC and
MR2, this bit can either toggle, go low, go high, or do nothing,
depending on bits 9:8 of this register. This bit can be driven
onto a MATn.0 pin, in a positive-logic manner (0 = low,
1 = high).
0
3
EM3
External Match 3. When a match occurs between the TC and
MR3, this bit can either toggle, go low, go high, or do nothing,
depending on bits 11:10 of this register. This bit can be driven
onto a MATn.0 pin, in a positive-logic manner (0 = low,
1 = high).
0
5:4
EMC0
External Match Control 0. Determines the functionality of
External Match 0.
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.