beautypg.com

NEC PD754144 User Manual

Page 205

background image

CHAPTER 7 INTERRUPT AND TEST FUNCTIONS

205

User’s Manual U10676EJ3V0UM

(1) Enabling or disabling interrupt

Reset

.

.

.

<1>

EI IE0
EI IET1

<2>

EI

.

.

.

.

.

.

<3>

DI IE0

.

.

.

.

.

.

<4>

DI

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

<5>

Disables
interrupts

Enables INT0 and INTT1

Enables INTT1

Disables
interrupts

<1> All the interrupts are disabled by the RESET signal.

<2> An interrupt enable flag is set by the EI IE

××× instruction. At this stage, the interrupts are still disabled.

<3> The interrupt master enable flag is set by the EI instruction. INT0 and INTT1 are enabled at this time.

<4> The interrupt enable flag is cleared by the DI IE

××× instruction, and INT0 is disabled.

<5> All the interrupts are disabled by the DI instruction.

This manual is related to the following products: