Renesas SH7781 User Manual

Page 312

Advertising
background image

10. Interrupt Controller (INTC)

Rev.1.00 Jan. 10, 2008 Page 282 of 1658
REJ09B0261-0100

(3)

Interrupt Priority Register (INTPRI)

INTPRI is a 32-bit readable/writable register used to set the priorities of IRQ[7:0] (as levels from
15 to 0). These settings are only valid for IRQ/

IRL7 to IRQ/IRL4 or IRQ/IRL3 to IRQ/IRL0 when

set up as individual IRQ interrupts (IRQ7 to IRQ0 interrupts) by setting the IRLM0 or IRLM1 bit
in ICR0 to 1.

16

17

18

19

20

21

22

23

24

25

26

27

28

29

31

30

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

IP3

IP2

IP1

IP0

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Bit:

Initial value:

R/W:

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

IP7

IP6

IP5

IP4

Bit:

Initial value:

R/W:

Bit Name

Initial
Value R/W Description

31 to 28

IP0

H'0

R/W

Set the priority of IRQ0 as an individual pin interrupt request.

27 to 24

IP1

H'0

R/W

Set the priority of IRQ1 as an individual pin interrupt request.

23 to 20

IP2

H'0

R/W

Set the priority of IRQ2 as an individual pin interrupt request.

19 to 16

IP3

H'0

R/W

Set the priority of IRQ3 as an individual pin interrupt request.

15 to 12

IP4

H'0

R/W

Set the priority of IRQ4 as an individual pin interrupt request.

11 to 8

IP5

H'0

R/W

Set the priority of IRQ5 as an individual pin interrupt request.

7 to 4

IP6

H'0

R/W

Set the priority of IRQ6 as an individual pin interrupt request.

3 to 0

IP7

H'0

R/W

Set the priority of IRQ7 as an individual pin interrupt request.

Note: Interrupt priorities are established by setting values from H'F to H'1 in each of the 4-bit

fields. A larger value corresponds to a higher priority. When the value H'0 is set in a field,
the corresponding interrupt request is masked (initial value).

Advertising