
18
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38C3 Group
✽ ✽
✽ ✽
✽
✽
✽ ✽✽
✽ ✽✽
✽ ✽✽
✽ ✽✽
✽ ✽✽
✽ ✽
✽
Port P8
0
latch
Port P8
0
direction register = “0”
Port P8
1
latch
Port P8
1
direction register = “0”
Port P8
2
latch
Port P8
2
direction register = “0”
Port P8
3
latch
Port P8
3
direction register = “0”
Port P8
4
latch
Port P8
4
direction register = “1”
Port P8
5
latch
Port P8
5
direction register = “1”
Port P8
6
latch
Port P8
6
direction register = “1”
Port P8
7
latch
Port P8
7
direction register = “1”
P8
0
input
P8
1
input
P8
2
input
P8
3
input
P8
4
output
P8
5
output
P8
6
output
P8
7
output
PULL register A
Bit 5 = “1”
Port P8
Input reading circuit
Port PXx
“L” level output
✽ P-channel transistor for pull-up
✽ ✽ CMOS output buffer
Key input interrupt request
Key Input Interrupt (Key-on Wake-Up)
A key input interrupt request is generated by applying “L” level to any
pin of port P8 that have been set to input mode. In other words, it is
generated when AND of input level goes from “1” to “0”. An example
of using a key input interrupt is shown in Figure 15, where an inter-
rupt request is generated by pressing one of the keys consisted as
an active-low key matrix which inputs to ports P8
0–P83.
Fig. 15 Connection example when using key input interrupt and port P8 block diagram
Komentarze do niniejszej Instrukcji