Toshiba TMP92CM22FG TLCS-900/H1 Series Manual page 44

Toshiba original cmos 32-bit microcontroller
Table of Contents

Advertisement

(2) External interrupt control
Symbol
Name
Address
Interrupt
00F6H
input
IIMC
(Prohibit
mode
RMW)
control
Interrupt
00FAH
input
IIMC2
(Prohibit
mode
RMW)
control2
Note 1: Disable INT0 to INT3 before changing INT0 to 3 pins mode from "level" to "edge".
Setting example for case of INT0:
DI
LD (IIMC) ,XXXXXX0-B
LD (INTCLR),0AH
NOP
NOP
NOP
EI
X: Don't care, −: No change
Note 2: See electrical characteristics in section 4 for external interrupt input pulse width.
Note 3: When release halt by INT0 to INT3 interrupt of level-mode in interrupt request enable, keep setting level by
<IxEDGE> until be started interrupt process. If changed "level" before interrupt process starting, interrupt
isn't processed correctly.
Example:
7
6
I3EDGE
INT3EDGE
0: Rising/
1: Falling/
Detect edge
;
;
;
Case of set "H" level interrupt (<IxLE> = 1, <IxEDGE> = 0).
Keep "H" level until be started interrupt process. If changed to "L" level before interrupt process starting,
interrupt isn't processed correctly.
92CM22-42
5
4
3
I2EDGE
I1EDGE
W
0
0
0
INT2EDGE
INT1EDGE
0: Rising/
0: Rising/
high
high
high
1: Falling/
1: Falling/
low
low
low
I3LE
0
INT3
0: Edge
1: Level
H level
L level
Rising
Falling
IxEDGE
Change from "level" to "edge".
Clear interrupt request flag.
Wait EI execution.
TMP92CM22
2
1
I0EDGE
I0LE
NMIREE
R/W
0
0
INT0EDGE
INT0
NMI
0: Rising/
0: Edge
0: Falling
high
1: Level
1: Falling/
1: Falling
low
I2LE
I1LE
W
0
0
INT2
INT1
0: Edge
0: Edge
1: Level
1: Level
Level
edge
IxLE
2007-02-16
0
0
edge
and
rising
edges

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900/h1 series

Table of Contents