CHAPTER 7. STANDBY FUNCTION

7.3OPERATION AFTER STANDBY MODE RESET

(1)When the standby mode was reset by RESET input, normal reset operation is executed. (STOP and HALT modes)

(2)When the standby mode was reset by interrupt request generation, whether or not a vector interrupt is executed when the CPU resumes instruction execution is determined by the contents of the interrupt master enable flag (IME). (HALT mode)

(a)IME = 0

After HALT mode reset, execution is resumed from the instruction (NOP instruction) after the HALT mode setting instruction.

The interrupt request flag is held.

(b) IME = 1

After HALT mode is reset, a vector interrupt is executed two instructions after the HALT mode setting instruction. However, because a vector interrupt is not generated when the HALT mode was reset by INT2 (testable input), the same processing as (a) is performed.

7.4STANDBY MODE APPLICATION

When using the standby mode, proceed as follows:

Power interruption or other standby mode setting cause detection by interrupt input or port input.

I/O port processing (Process for minimum current drain)

 

In particular, do not leave the input port open : be sure to input a low-level or high-level signal.

Specification of interrupt which resets the standby mode (However, for HALT mode, interrupt enable flags

which is not reset are cleared.)

4Specification of operation after reset (IME is operated according to whether or not interrupt processing is performed after HALT mode resetting.)

Specification of CPU clock after reset (For switching, provide the number of machine cycles necessary up

to standby mode setting.)

6Standby mode setting (STOP and HALT instructions)

145

Page 156
Image 156
NEC PD75P402, PD75402A user manual Standby Function Operation After Standby Mode Reset, Ime =