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 2
LOC OBJ
0088
4000
4000 758160
4003 00
4004 740A
4006 12400B
4009 80FE
400B 12405C
400E 7B00
4010 7480
4012 F590
4014 3097FD
4017 2097FD
401A 791F
401C D9FE
401E 7490
4020 4D
4021 F590
4023 7930
4025 D9FE
4027 7488
8/13
LINE
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
SOURCE
Disable equ
88H
; #############################################################
; Main program: load Accumulator with key code (see below) and
;
call subroutine "Key_In"
Org
04000H
; set start address of program
mov
SP,#060H
; set stack pointer
HS_OK: NOP
; make sure that at this point
; the SA253x has been off-hook
; for >20ms
Ld_Key: mov
a,#10
; load keycode, here key "0"
Call Key_in
; execute keystroke
jmp
$
; end of main program, exit at
; this point or continue with
; next key entry
; rem.: add additional delay when
; cascading memories (s. Delay7:)
; #############################################################
; *************************************************************
; Subroutine Key_in
; *************************************************************
; this subroutine executes a key entry to the SA253x
; the corresponding key code(0...31) must be loaded in the accu
; see table at label:"scantbl" for key codes
; affected Registers:
;
A,B,R1,R2,R3,R5,R6,R7,DPTR
Key_in: call getScTb
; preload Reg5..7 with scan table
; Row X: variable in Reg5
; Row Y: variable in Reg6
; Col X: variable in Reg7
Exe_Key:mov
mov
mov
sync: jnb
jb
R3,#0
a,#ForceLO
P1,A
P1.7, $
P1.7, $
; clear loop counter
; force R1 low
; make sure, C1= C2 = low
; wait for rising edge C1 or C2
; = trigger for asynch. timing
;- Delay 1:wait 71.5 us = 66 machine cycles and force RowX high
delay1: mov
R1,#31
; 1 cycle
djnz R1,$
; 2 cycles; #Loops=(66-4)/2 =31
SCAN1: mov
orl
mov
A,#ForceHi
A,R5
P1,A
; 1 cycle
; 1 cycle
; 1 cycle
;--------------------------------------------------------------
;Delay2:wait 107.25us= 99 machine cycles +disable all rows/cols
delay2: mov
R1,#48
; 1 cycle
djnz R1,$
; 2 cycles; #Loops =(99-3)/2 = 48
mov
A,#Disable
; 1 cycle
sames

Share Link: 

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