Renesas M16C/26A Series Hardware Manual page 324

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
NOTES:
1. The above settings must be executed individually. Do not execute two or more settings simultaneously
(using one instruction).
2. Use the I flag for the INTi interrupt (i = 0 to 5).
For the interrupts from peripheral functions other than the INTi interrupt, turn off the peripheral function that
is the source of the interrupt in order not to generate an interrupt request before changing the interrupt
generate factor. In this case, if the maskable interrupts can all be disabled without causing a problem, use
the I flag. Otherwise, use the corresponding
3. Refer to 19.5.6 Rewrite the Interrupt Control Register for details about the instructions to use and the
notes to be taken for instruction execution.
Figure 19.2. Procedure for Changing the Interrupt Generate Factor
______
19.5.5 INT Interrupt
1. Either an "L" level of at least t
_______
input to pins INT
2. If the POL bit in the INT0IC to INT5IC registers or the IFSR7 to IFSR0 bits in the IFSR register are
changed, the IR bit may inadvertently set to 1 (interrupt requested). Be sure to clear the IR bit to 0
(interrupt not requested) after changing any of those register bits.
3. When using the INT
debounce filter) before entering stop mode.
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
Change the interrupt generate factor (including a mode change of peripheral function)
Use the MOV instruction to clear the IR bit to "0" (interrupt not requested) (3)
IR bit: A bit in the interrupt control register for the interrupt whose interrupt generate factor is to
be changed
(
) or an "H" level of at least t
W
INH
_______
through INT
regardless of the CPU operation clock.
0
5
interrupt for exiting stop mode, set the P17DDR register to "FF
5
page 305
f o
3
2
9
C
2 /
6
) T
Changing the interrupt source
Disable interrupts (2, 3)
Enable interrupts (2, 3)
End of change
(
) width is necessary for the signal
W
INL
16
19. Usage Notes
" (disable digital

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents