Download UM10314

Transcript
D
D
R
R
R
R
R
D
D
D
D
R
R
FT
FT
FT
FT
D
R
R
A
FT
FT
FT
A
A
R
R
D
D
D
R
A
Access Reset Description
Value
15:
14
Reserved
R
X
Reserved; should be written as zeros
13:
8
TARGET
R/W
0
Interrupt target: This variable defines the interrupt target
of an interrupt request. Legal values are 0 ... 1; other
values are reserved and lead to undefined behaviour. See
also WE_TARGET.
FT
FT
A
A
R
R
D
D
Symbol
F
FT
FT
A
A
R
R
D
D
D
Bit
D
D
R
A
FT
the interrupt request shall lead to a processor interrupt
request 1 (cpuint1) => nFIQ
High order bits not required for TARGET encoding are
read-only 0.
PRIORITY_LE R/W
VEL
X
Priority level
This variable determines the priority level of the interrupt
request. Legal values are 0 ... P; other values are
reserved and lead to undefined behaviour. See also
WE_PRIORITY_LEVEL.
PRIORITY_LEVEL = 0:
the interrupt request has priority level 0 (masked); it is
ignored
PRIORITY_LEVEL = 1:
the interrupt request has priority level 1 (lowest) ...
PRIORITY_LEVEL = 15:
the interrupt request has priority level 15 (highest)
High order bits not required for PRIORITY_LEVEL
encoding are read-only 0
Remark: There is no INT_REQUEST_0 register.
For changing the TARGET variable state dynamically, software must first disable the
interrupt request (ENABLE = 0), then change TARGET and finally re-enable the request
(ENABLE = 1).
Write enable commands are provided to allow the modification of individual
INT_REQUEST_* variables by simple write operations instead of atomic
read-modify-write operations. This feature allows to access INT_REQUEST_* registers
simultaneously by multiple software threads.
5. Functional description
5.1 Why Vectored?
For each incoming interrupt, its source & priority are determined by INTC hardware. Being
vectored helps IRQ handler to be simple & quick in response.
UM10314_1
© NXP B.V. 2009. All rights reserved.
Rev. 1.01 — 9 September 2009
223 of 559
A
TARGET = 1:
R
the interrupt request shall lead to a processor interrupt
request 0 (cpuint0) => nIRQ
D
TARGET = 0:
User manual
A
A
A
A
R
R
D
D
D
Table 176. Interrupt request registers (INT_REQUEST1, address 0x6000 0404 to
INT_REQUEST29, address 0x6000 0474) …continued
FT
FT
FT
FT
FT
UM10314
Chapter 10: LPC3130/31 Interrupt controller
7:0
A
A
A
A
A
NXP Semiconductors