Renesas M16C FAMILY Hardware Manual page 181

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
Figure 19.1 Example of Procedure for Changing Interrupt Source
Rev.0.91
2003 Sep 08
Interrupt factor change
Interrupt disabled
Change interrupt source (including mode change
of peripheral functions)
Set IR bit to "0" (interrupt not requested) using
MOV instruction
Enable interrupt
Change completed
• IR bit: The corresponding interrupt control register bit of an
interrupt by which an interrupt source is changed.
• The setting above should be performed individually. Avoid
executing two or more settings at once (by one instruction).
Notes:
1. The I flag should be used for the INTi (i=0 to 3) interrupt.
To prevent interrupt requests from being generated when
using a peripheral function interrupt other than the INTi
interrupt, the corresponding peripheral function should be
disabled before changing the interrupt factor. In this case,
the I flag should be used when all maskable interrupts can
be disabled. When not all maskable interrupts can be
disabled, the ILVL2 to ILVL0 bits of the corresponding
interrupt should be used.
2. Refer the paragraph 1.2.6 "Changing Interrupt Control
Register" for the instructions to be used and their usage
notes.
page 171 of 184
1, 2
2
1, 2
19. Usage Notes

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents