DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

SAN3010 Ver la hoja de datos (PDF) - South African Micro Electronic Systems

Número de pieza
componentes Descripción
Fabricante
SAN3010
Sames
South African Micro Electronic Systems Sames
SAN3010 Datasheet PDF : 13 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
SAN3010
PAGE 4
LOC OBJ
4057 D9FE
4059 DAFC
405B 22
405C 904074
405F 75F003
4062 A4
4063 F5F0
4065 93
4066 FD
4067 E5F0
4069 04
406A F5F0
406C 93
406D FE
406E E5F0
4070 04
4071 93
4072 FF
4073 22
4074 00
4075 00
4076 04
4077 00
4078 00
4079 05
407A 00
407B 00
407C 06
407D 00
407E 00
407F 07
4080 01
4081 01
4082 04
4083 01
10/13
LINE
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
SOURCE
Del7a:
djnz
djnz
R1,$
R2,Del7a
ret
; =256*2 machine cycles
; =2 machine cycles
; 28*(256*2+2)=14392mc's=15.6ms
; return from subroutine
;**************************************************************
; Subroutine GetScTb
;**************************************************************
; this subroutine loads the Reg5..Reg7 registers according to
; the keycode passed by the accumulator contents.
; valid keycodes are 0.....31 (dec) = 0....1F (Hex)
GetScTb:mov
mov
mul
mov
dptr,#Scantbl
B,#3
AB
B,A
; calculate offset Address:
; scantable startaddress
;
+ (keycode *3)
; save offset address
movc
mov
A,@A+DPTR
R5,A
; get scan table: Row X
; RowX
mov
inc
mov
movc
mov
A,B
A
B,A
A,@A+DPTR
R6,A
; get next code
; save
; get scan table: Row X
; RowY
mov
inc
movc
mov
A,B
A
A,@A+DPTR
R7,A
; get next code
; get scan table: Row X
; ColX
ret
; Scan table: the three constants indicate the rows/columns
;
to be driven in the SCAN1....SCAN3 phase
;
Scantbl:db
Row1,Row1,Col1 ; key "Pgm/Mt, keycode= 0
201
db
Row1,Row1,Col2 ; key "1" , keycode= 1
202
db
Row1,Row1,Col3 ; key "2" , keycode= 2
203
db
Row1,Row1,Col4 ; key "3" , keycode= 3
204
db
Row2,Row2,Col1 ; key "4" , keycode= 4
205
db
Row2,Row2,Col2 ; key "5" , keycode= 5
sames

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]