beautypg.com

Rainbow Electronics W90N740 User Manual

Page 183

background image

W90N740

Publication Release Date: November 26, 2004

- 179 -

Revision A4

AIC IRQ Priority Encoding Register (AIC_IPER)

Register Address

R/W

Description

Reset

Value

AIC_IPER 0xFFF8.210C

R

Interrupt Priority Encoding Register

0x0000.0000

31

30

29

28

27

26

25

24

0 0 0 0 0 0 0 0

23

22

21

20

19

18

17

16

0 0 0 0 0 0 0 0

15

14

13

12

11

10

9

8

0 0 0 0 0 0 0 0

7

6

5

4

3

2

1

0

RESERVED

VECTOR 0

0

When the AIC generates the interrupt, VECTOR represents the interrupt channel number that is active,
enabled, and has the highest priority. If the representing interrupt channel possesses a priority level 0,
then the interrupt asserted is FIQ; otherwise, it is IRQ. The value of VECTOR is copied to the register
AIC_ISNR thereafter by the AIC. This register was restored a value 0 after it was read by the interrupt
handler
. This register can help indexing into a branch table to quickly jump to the corresponding interrupt
service routine.

VECTOR [6:2]: Interrupt Vector

0 = no interrupt occurs

1 ~ 31 = representing the interrupt channel that is active, enabled, and having the highest priority