© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
250
Philips Semiconductors
UM10139
Volume 1
Chapter 15: TIMER0 and TIMER1
15.5.11 External
Match
Register (EMR, TIMER0: T0EMR - 0xE000 403C; and
TIMER1: T1EMR - 0xE000 803C)
The External Match Register provides both control and status of the external match pins
MAT(0-3).
10
CAP3FE
1
Capture on CAPn.3 falling edge: a sequence of 1 then 0 on CAPn.3 will cause CR3 to
be loaded with the contents of TC
0
0
This feature is disabled.
11
CAP3I
1
Interrupt on CAPn.3 event: a CR3 load due to a CAPn.3 event will generate an interrupt. 0
0
This feature is disabled.
15:12
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
Table 242: Capture Control Register (CCR, TIMER0: T0CCR - address 0xE000 4028 and TIMER1: T1CCR - address
0xE000 8028) bit description
Bit
Symbol
Value Description
Reset
value
Table 243: External Match Register (EMR, TIMER0: T0EMR - address 0xE000 403C and TIMER1: T1EMR -
address0xE000 803C) bit description
Bit
Symbol
Description
Reset
value
0
EM0
External Match 0. This bit reflects the state of output MAT0.0/MAT1.0, whether or not this
output is connected to its pin. When a match occurs between the TC and MR0, this output
of the timer can either toggle, go low, go high, or do nothing. Bits EMR[5:4] control the
functionality of this output.
0
1
EM1
External Match 1. This bit reflects the state of output MAT0.1/MAT1.1, whether or not this
output is connected to its pin. When a match occurs between the TC and MR1, this output
of the timer can either toggle, go low, go high, or do nothing. Bits EMR[7:6] control the
functionality of this output.
0
2
EM2
External Match 2. This bit reflects the state of output MAT0.2/MAT1.2, whether or not this
output is connected to its pin. When a match occurs between the TC and MR2, this output
of the timer can either toggle, go low, go high, or do nothing. Bits EMR[9:8] control the
functionality of this output.
0
3
EM3
External Match 3. This bit reflects the state of output MAT0.3/MAT1.3, whether or not this
output is connected to its pin. When a match occurs between the TC and MR3, this output
of the timer can either toggle, go low, go high, or do nothing. Bits EMR[11:10] control the
functionality of this output.
0
5:4
EMC0
External Match Control 0. Determines the functionality of External Match 0.
shows the encoding of these bits.
00
7:6
EMC1
External Match Control 1. Determines the functionality of External Match 1.
shows the encoding of these bits.
00
9:8
EMC2
External Match Control 2. Determines the functionality of External Match 2.
shows the encoding of these bits.
00
11:10
EMC3
External Match Control 3. Determines the functionality of External Match 3.
shows the encoding of these bits.
00
15:12
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA