NEC V850E/MS1 UPD703100 User Manual page 241

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Releasing IDLE mode
The IDLE Mode is released by NMI pin input or RESET pin input.
(a) Release by NMI pin input
This is acknowledged as a NMI request together with a release of the IDLE mode.
However, in cases where setting the system in the IDLE mode is included in the NMI processing routine,
the IDLE mode is released only, and this interrupt is not acknowledged. The interrupt request itself is
held pending.
The interrupt processing that is started when the IDLE mode is released by NMI pin input is treated in the
same way as ordinary NMI interrupt processing in an emergency, etc. (since the NMI interrupt handler's
address is unique). Consequently, in cases where it is necessary to distinguish between the two in a
program, it is necessary to prepare the software status in advance and set the status before setting the
PSC register using the store instruction or a bit operation instruction. By checking this status in NMI
interrupt processing, it is possible to distinguish it from an ordinary NMI.
(b) Release by RESET pin input
This is the same as an ordinary reset operation.
CHAPTER 8 CLOCK GENERATOR FUNCTIONS
User's Manual U12688EJ4V0UM00
241

Advertisement

Table of Contents
loading

Table of Contents