English
Language : 

S3C3410X Datasheet, PDF (260/314 Pages) Samsung semiconductor – 16-Bit CMOS Microcontrollers
INTERRUPT CONTROLLER
S3C3410X RISC MICROPROCESSOR
INTERRUPT PRIORITY REGISTER (INTPRI)
INTPRIn are the interrupt priority register to determine the priority of interrupt sources. There should be 32 grade
priorities for interrupt sources because there are total 32 interrupt request sources in S3C3410X. It means that
the 5-bit register can determine all the priorities of 32 interrupt request sources. So, each INTPRIn is divided into
four part to set the priority of the each interrupt source, that is, INTPRI0 is divided into PRIORITY3, PRIORITY2,
PRIORITY1, and PRIORITY0. Lower number has the higher priority than the higher number, that is, PRIORITY0
has the higher priority than PRIORITY3. So, for determining the priority of interrupt sources, first set the interrupt
number in PRIORITYn only. For example, if PROIRITY0 have 0x11, which is basic timer interrupt number, then
basic timer interrupt have the highest priority in all interrupt sources.
As previously mentioned, there are two kinds of interrupt mode in CPU. One is FIQ and the other is IRQ. The FIQ
has the higher priority than IRQ in CPU. So, if you want to set the priority of FIQ and IRQ, you must set the
priority of FIQ higher than that of IRQ. In summary, the FIQ must have the higher priority than IRQ, interrupt
source in low number priority register has the higher priority than interrupt source in high number priority register.
In addition, all 32 PRIORITYn should have a different interrupt source number.
Register
INTPRI0
INTPRI1
INTPRI2
INTPRI3
INTPRI4
INTPRI5
INTPRI6
INTPRI7
Offset Address
0xc00c
0xc010
0xc014
0xc018
0xc01c
0xc020
0xc024
0xc028
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
Interrupt priority register 0
Interrupt priority register 1
Interrupt priority register 2
Interrupt priority register 3
Interrupt priority register 4
Interrupt priority register 5
Interrupt priority register 6
Interrupt priority register 7
Reset Value
0x03020100
0x07060504
0x0b0a0908
0x0f0e0d0c
0x13121110
0x17161514
0x1b1a1918
0x1f1e1d1c
Register
[28:24]
[20:16]
[12:8]
[4:0]
INTPRI0 EN PRIORITY3
X
PRIORITY2
X
PRIORITY1
X
PRIORITY0
INTPRI1 X
PRIORITY7
X
PRIORITY6
X
PRIORITY5
X
PRIORITY4
INTPRI2 X PRIORITY11 X PRIORITY10 X
PRIORITY9
X
PRIORITY8
INTPRI3 X PRIORITY15 X PRIORITY14 X PRIORITY13 X PRIORITY12
INTPRI4 X PRIORITY19 X PRIORITY18 X PRIORITY17 X PRIORITY16
INTPRI5 X PRIORITY23 X PRIORITY22 X PRIORITY21 X PRIORITY20
INTPRI6 X PRIORITY27 X PRIORITY26 X PRIORITY25 X PRIORITY24
INTPRI7 X PRIORITY31 X PRIORITY30 X PRIORITY29 X PRIORITY28
11-10