전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

GL603USB 데이터시트(PDF) 32 Page - List of Unclassifed Manufacturers

부품명 GL603USB
상세설명  USB PS/2 MOUSE MICROCONTROLLER
PDF  41 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ETC [List of Unclassifed Manufacturers]
홈페이지  
Logo ETC - List of Unclassifed Manufacturers

GL603USB 데이터시트(HTML) 32 Page - List of Unclassifed Manufacturers

Back Button GL603USB Datasheet HTML 28Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 29Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 30Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 31Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 32Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 33Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 34Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 35Page - List of Unclassifed Manufacturers GL603USB Datasheet HTML 36Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 41 page
background image
32
09/22/00
GL603USB/GL603USB-A/GL603USB-B
Revision 1.4
5.6
Timer Interrupt
Because CPU may enter timer interrupt routine at any time, the timer interrupt routine should
backup all special registers at its entry point and restore them before return.
(Address 0x004)
TIMER_ENTRY:
MOV
A_TEMP, A
SWAPR
A, STATUS
BCR
STATUS, BS
MOV
S_TEMP, A
MOV
A, INDAR
MOV
I_TEMP, A
;
; Execute interrupt service routine
;
MOV
A, I_TEMP
MOV
INDAR, A
SWAPR
A, S_TEMP
MOV
STATUS, A
SWAPR
A_TEMP
SWAPR
A, A_TEMP
BCR
INTEN, TMROF
RETI
5.7
Conditional Branch
Example: Conditional branch can be according to value of Accumulator. Firmware can use this
method to return value for lookahead table. Because Accumulator is only 8 bits wide, the higher 3
bits of Program Counter should be load into PCHBUF before the conditional branch executed.
(Address 0x540)
LOOKAHEAD:
MOVIA
0x05
MOV
PCHBUF, A
MOVIA
LOOKAHEAD_VAL
ADDAR
PCL, A
RETIA
0
; Acc = 0
RETIA
1
; Acc = 1
RETIA
2
; Acc = 2
.
.
.
.
.
.
5.8
Change Register Bank
Usually keeps BS = 0. If firmware want to access register address 0x80 to 0x8F, set BS = 1. After
process register address 0x80 to 0x8F complete, clear BS = 0 to address 0x00 to 0x7F.
BSR
STATUS, BS
MOV
PORT1CON, A
BCR
STATUS, BS
5.9
Read Photo Sensor Input



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com