UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
138 of 362
NXP Semiconductors
UM10208
Chapter 12: LPC2800 Event router
4.
Register descriptions
The following table is arranged in the order than the various registers apply to the signal
flow through the Event Router. That is, the outputs of the first register are applied to the
input signals, and one of the last registers can be read to sense the state of the five
outputs of the Event Router block.
Table 140. Event router register descriptions
Names
Description
Access Address = Reset value
EVAPR[0]
EVAPR[1]
EVAPR[2]
EVAPR[3]
Activation Polarity Registers.
Each 0 in these
registers indicates that the corresponding signal is
low-active or falling-edge sensitive, each 1 indicates
that the signal is high-active or rising-edge sensitive.
R/W
0x8000 0CC0 = 0xFFFF FFFD
0x8000 0CC4 = 0xFFFF FFFF
0x8000 0CC8 = 0xFF67 FFFF
0x8000 0CCC = 0x0000 003C
EVATR[0]
EVATR[1]
EVATR[2]
EVATR[3]
Activation Type Registers.
Each 0 in these registers
indicates that the corresponding signal is low- or
high-active, each 1 indicates that the signal is edge
sensitive.
R/W
0x8000 0CE0 = 0xFFFF FFFD
0x8000 0CE4 = 0xFFFF FFFF
0x8000 0CE8 = 0xFF67 FFFF
0x8000 0CEC = 0x0000 003C
EVECLR[0]
EVECLR[1]
EVECLR[2]
EVECLR[3]
Edge Clear Registers.
Writing a 1 to a bit in these
registers that corresponds to an edge-sensitive
signal, clears the edge-detection latch for that signal.
0s written to these registers have no effect.
WO
0x8000 0C20
0x8000 0C24
0x8000 0C28
0x8000 0C2C
EVESET[0]
EVESET[1]
EVESET[2]
EVESET[3]
Edge Set Registers.
Writing a 1 to a bit in these
registers that corresponds to an edge-sensitive
signal, sets the edge-detection latch for that signal. 0s
written to these registers have no effect. These
registers can be used to force an interrupt or wakeup.
WO
0x8000 0C40
0x8000 0C44
0x8000 0C48
0x8000 0C4C
EVRSR[0]
EVRSR[1]
EVRSR[2]
EVRSR[3]
Raw Status Registers.
Each 1 in these read-only
registers indicates that the corresponding signal is in
its active state, or that an the edge selected by the
corresponding bit in EVAPR has been detected.
R/W
0x8000 0D20 = 0x0003 FBFC
0x8000 0D24 = 0x0621 0000
0x8000 0D28 = 0x0080 0100
0x8000 0D2C = 0x0000 07C0
EVMASK[0]
EVMASK[1]
EVMASK[2]
EVMASK[3]
Global Mask Registers.
Each 1 in these registers
enables the corresponding signal to contribute to the
five outputs of the Event Router block, as controlled
by the subsequent Interrupt Output Mask Registers.
These registers can be written during system
initialization, but changing their values dynamically
should be done using the Global Mask Set and Clear
Registers.
R/W
0x8000 0C60 = 0xFFFF FFFF
0x8000 0C64 = 0xFFFF FFFF
0x8000 0C68 = 0xFFFF FFFF
0x8000 0C6C = 0x0000 07FF
EVMCLR[0:3]
Global Mask Clear Registers.
Writing a 1 to a bit in
these registers clears the Global Mask Register bit for
that signal, thus disabling its ability to interrupt,
activate a clock, or reset a module. 0s written to these
registers have no effect.
WO
0x8000 0C80, 0x8000 0C84,
0x8000 0C88, 0x8000 0C8C
EVMSET[0:3]
Global Mask Set Registers.
Writing a 1 to a bit in
these registers sets the Global Mask Register bit for
that signal, thus enabling its ability to interrupt,
activate a clock, or reset a module. 0s written to these
registers have no effect.
WO
0x8000 0CA0, 0x8000 0CA4,
0x8000 0CA8, 0x8000 0CAC
EVPEND[0:3]
Pending Registers.
Each 1 in these read-only
registers indicates that the corresponding signal is in
its active state, or that an the edge selected by the
corresponding bit in EVAPR has been detected, and
that the signal is globally enabled.
RO
0x8000 0C00 = 0x0003 FBFC
0x8000 0C04 = 0x0621 0000
0x8000 0C08 = 0x0080 0100
0x8000 0C0C = 0x0000 07C0