Chapter 3 Interrupts

3-1-1

Functions

 

 

 

 

 

 

 

Table 3-1-1

Interrupt Functions

 

 

 

 

 

 

 

 

 

Interrupt type

 

Reset (interrupt)

 

Non-maskable interrupt

Maskable interrupt

 

 

 

 

 

 

Vector number

 

0

 

1

2 to 28

 

 

 

 

 

 

Table address

 

x'04000'

 

x'04004'

x'04008' to x'04070'

 

 

 

 

 

 

Starting address

 

 

 

Address specified by vector address

 

 

 

 

 

 

 

Interrupt level

 

-

 

-

Level 0 to 2

 

 

(set by software)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Errors detection,

External pin input

Interrupt factor

 

External RST pin input

 

PI interrupt

Internal peripheral

 

 

 

 

 

 

function

 

 

 

 

 

 

Input interrupt request

 

 

 

 

 

Input to CPU core from

level set in interrupt level flag

Generated operation

 

Direct input to CPU core

 

non-maskable interrupt

(xxxL Vn) of maskable

 

 

 

 

 

control register (NMICR)

interrupt control register

 

 

 

 

 

 

(xxxICR) to CPU core.

 

 

 

 

 

 

Acceptance only by the

Accept operation

 

Always accepts

 

Always accepts

interrupt control of the register

 

 

(xxxICR) and the interrupt

 

 

 

 

 

 

 

 

 

 

 

 

mask level in PSW.

Machine cycles until

 

12

 

12

12

 

acceptance

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Values of the interrupt level

PSW status after acceptance

 

All flags are cleared

 

The interrupt mask level

flag (xxxLVn) are set to the

 

to "0".

 

flag in PSW is cleared

interrupt mask level (masking

 

 

 

 

 

to "00".

all interrupt requests with the

 

 

 

 

 

 

same or the lower priority.)

Overview III - 3

Page 97
Image 97
Panasonic F77G, MN101C77C user manual Interrupt Functions