54
The relation between the strobe signals and bit data in keyboard
scan
is shown in Table 4.5.
Strobe signals are delivered to four terminals (A
3 ,
A
2 ,
A
1 ,
A
0 ),
and are fed into the demultiplexer
154, then delivered to 12 terminals of
strobe
inputs of keyboard. Keys are discriminated by
strobe
signals
and
key
data.
For instance, when the strobe is '6H' and key data
'FFH',
then it is found that key
'S'
is being
depressed.
Table 4.5 Key scanning
strobe
signals and bit data
E
MODE
0
1
2
3
4
5
6
7
4
FI
F2
F3
F4
Fs
F6
F7
Fs
0
0
F9
FlO
8
9
00
•
+
-
1
1
0
1
2
3
4
5
6
7
2
1
TAB
(SP)
lcRI
[!]
ITJ
B
El
I
BREAK
I
3
+-
a
b
c
d
e
f
g
I
f--
A
h=
B
-
c
f.--
D
IT
E
~
F
-
G
=F
4
2
~
• •
-
h
I
i
J
j
K
k
L
1
M
m
N
n
0
0
H
nr
~
-
~
RF
1---
-
][
5
3
==
£
0
-
p
Q
q
R
I
s
t
u
u
v
w
6
p
f.--
I--
l=
s
T
T
~
~
v
-
w
-
3
hr
r
•
-,
X
y
z
-
\
I
?
t
>
<
X
•
y
1---
z
~
-
f.--
I--
-
-
7
II"
(\
\
+
'
¥
Tf
-
!
"
#
$
%
&
0
1
2
3
4
5
6
7
8
4
(
)
*
+
=
\
{
2
8
9
'
-
@
[
9
t - -
}
~
CLR
......1 INST
l
~
r.I.l
A
0
5
:I:
Q
SPCL GRPH
SFT LOCK
SHIFT RVS
B