NEC mPD784225 Series User Manual page 398

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

Advertisement

22.8.4 Operation at end of macro service
In macro service, processing is performed the number of times specified during execution of another program.
Macro service ends when the processing has been performed the specified number of times (when the macro service
counter (MSC) reaches 0). Either of two operations may be performed at this point, as specified by the VCIE bit (bit
7) of the macro service mode register for each macro service.
(1) When VCIE bit is 0
In this mode, an interrupt is generated as soon as the macro service ends. Figure 22-18 shows an example of
macro service and interrupt acknowledgment operations when the VCIE bit is 0.
This mode is used when a series of operations end with the last macro service processing performed, for instance.
It is mainly used in the following cases:
• Asynchronous serial interface receive data buffering (INTSR1/INTSR2)
• A/D conversion result fetch (INTAD)
• Compare register update as the result of a match between a timer register and the compare register (INTTM00,
INTTM01, INTTM1, INTTM2, INTTM5, and INTTM6)
398
CHAPTER 22 INTERRUPT FUNCTIONS
User's Manual U12697EJ3V0UM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents