參數(shù)資料
型號: GL600USB-A
廠商: Electronic Theatre Controls, Inc.
英文描述: USB MOUSE MICROCONTROLLER
中文描述: USB鼠標單片機
文件頁數(shù): 29/38頁
文件大?。?/td> 352K
代理商: GL600USB-A
29
06/19/2000
GL600USB/GL600USB-A/GL600USB-B
Revision 1.3
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
MOV
MOVIA
ADDAR
RETIA
RETIA
RETIA
.
.
.
0x05
PCHBUF, A
LOOKAHEAD_VAL
PCL, A
0
1
2
.
.
.
; Acc = 0
; Acc = 1
; 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
MOV
BCR
STATUS, BS
PORT1CON, A
STATUS, BS
相關PDF資料
PDF描述
GL600USB-B USB MOUSE MICROCONTROLLER
GL620USB GeneLink-Lite USB PC-to-PC File Transfer Controller
GL641USB USB ATA/ATAPI/ COMPACT FLASH CARD CONTROLLER
GL650USB USB 4 PORT HUB CONTROLLER
GL651USB 2-PORT USB KEYBOARD HUB CONTROLLER
相關代理商/技術(shù)參數(shù)
參數(shù)描述
GL600USB-B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:USB MOUSE MICROCONTROLLER
GL60209 制造商:Glenair Inc 功能描述:CONNECTOR - Bulk
GL602USB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:USB KEYBOARD MICROCONTROLLER
GL602USB-A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:USB KEYBOARD MICROCONTROLLER
GL603USB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:USB + PS/2 MOUSE MICROCONTROLLER