beautypg.com

3 registers controlling interrupt function – NEC switch User Manual

Page 166

background image

CHAPTER 11 INTERRUPT FUNCTIONS

User’s Manual U12978EJ3V0UD

166

11.3 Registers Controlling Interrupt Function

The following five registers are used to control the interrupt functions.

• Interrupt request flag registers 0 and 1 (IF0 and IF1)
• Interrupt mask flag registers 0 and 1 (MK0 and MK1)
• External interrupt mode register 0 (INTM0)
• Program status word (PSW)
• Key return mode register 00 (KRM00)

Table 11-2 gives a listing of interrupt request flag and interrupt mask flag names corresponding to interrupt

requests.

Table 11-2. Flags Corresponding to Interrupt Request Signals

Interrupt Request Signal Name

Interrupt Request Flag

Interrupt Mask Flag

INTWDT

TMIF4

TMMK4

INTUSBTM

USBTMIF

USBTMMK

INTUSBRT

USBRTIF

USBRTMK

INTUSBRD

USBRDIF

USBRDMK

INTUSBST

USBSTIF

USBSTMK

INTUSBRE

USBREIF

USBREMK

INTP0

PIF0

PMK0

INTCSI10

CSIIF10

CSIMK10

INTTM00

TMIF00

TMMK00

INTTM01

TMIF01

TMMK01

INTKR00

KRIF00

KRMK00