Chapter 2 Basic CPU Functions

2-4-2 Interrupt Sources and Vector Addresses

In addition to reset, there are 20 interrupt vectors that indicate the starting addresses of interrupt programs. These vectors are located in the 80-byte ROM address area X'04004' to X'04053'.

Table 2-4-1 Interrupt Control Registers

Vector Number

Interrupt Source

Control Register

 

Vector Address

 

(address)

 

 

 

 

 

 

 

 

 

0

Reset

 

 

 

 

 

X'04000'

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Non-maskable interrupt (NMI)

NMICR

(X'03FE1')

 

X'04004'

 

 

 

 

 

 

 

 

2

External interrupt 0 (IRQ0)

IRQ0ICR

(X'03FE2')

 

X'04008'

 

 

 

 

 

 

 

 

3

External interrupt 1 (IRQ1)

IRQ1ICR

(X'03FE3')

 

X'0400C'

 

 

 

 

 

 

 

 

4

Reserved

 

 

(X'03FE4')

 

X'04010'

 

 

 

 

 

 

 

 

5

Reserved

 

 

(X'03FE5')

 

X'04014'

 

 

 

 

 

 

 

 

6

Timer 2 compare-match (TM2IRQ)

TM2ICR

(X'03FE6')

 

X'04018'

 

 

 

 

 

 

 

 

7

Time base period (TBIRQ)

TBICR

(X'03FE7')

 

X'0401C'

 

 

 

 

 

 

 

 

8

SC0 transfer complete (SC0IRQ)

SC0ICR

(X'03FE8')

 

X'04020'

 

 

 

 

 

 

 

 

9

Reserved

 

 

(X'03FE9')

 

X'04024'

 

 

 

 

 

 

 

 

10

A/D conversion complete (ADIRQ)

ADICR

(X'03FEA')

 

X'04028'

 

 

 

 

 

 

 

 

11

External interrupt 2 (IRQ2)

IRQ2ICR

(X'03FEB')

 

X'0402C'

 

 

 

 

 

 

 

 

12

External interrupt 3 (IRQ3)*

IRQ3ICR

(X'03FEC')

 

X'04030'

 

 

 

 

 

 

 

 

13

Reserved

 

 

(X'03FED')

 

X'04034'

 

 

 

 

 

 

 

 

14

Timer 3 compare-match (TM3IRQ)

TM3ICR

(X'03FEE')

 

X'04038'

 

 

 

 

 

 

 

 

15

Timer 4 compare-match (TM4IRQ)

TM4ICR

(X'03FEF')

 

X'0403C'

 

 

 

 

 

 

 

 

16

Timer 5 compare-match (TM5IRQ)

TM5ICR

(X'03FF0')

 

X'04040'

 

 

 

 

 

 

 

 

17

Reserved

 

 

(X'03FF1')

 

X'04044'

 

 

 

 

 

 

 

 

18

Reserved

 

 

(X'03FF2')

 

X'04048'

 

 

 

 

 

 

 

 

19

Reserved

 

 

(X'03FF3')

 

X'0404C'

 

 

 

 

 

 

 

 

20

Reserved

 

 

(X'03FF4')

 

X'04050'

 

 

 

 

 

 

 

 

Set the vector addresses for reserved and unused interrupts to

an address containing an RTI instruction.

*IRQ31CR cannot be used

except for 48-pin QFH package.

Interrupts 33

Page 47
Image 47
Panasonic MN101C00 user manual Interrupt Sources and Vector Addresses