LTC1402
U
W U U
APPLICATIONS INFORMATION
; The vectors in this table can be configured for processing external and
; internal software interrupts. The DSKplus debugger uses four interrupt
; vectors. These are RESET, TRAP2, INT2, and HPIINT.
;
;
* DO NOT MODIFY THESE FOUR VECTORS IF YOU PLAN TO USE THE DEBUGGER *
; All other vector locations are free to use. When programming always be sure
; the HPIINT bit is unmasked (IMR=200h) to allow the communications kernel and
; host PC interact. INT2 should normally be masked (IMR(bit 2) = 0) so that the
; DSP will not interrupt itself during a HINT. HINT is tied to INT2 externally.
;
;
;
.mmregs
reset goto #80h
;00; RESET * DO NOT MODIFY IF USING DEBUGGER *
;04; non-maskable external interrupt
nop
nop
nmi return_enable
nop
nop
nop
trap2 goto #88h
;08; trap2 * DO NOT MODIFY IF USING DEBUGGER *
nop
nop
.space 52*16
int0 return_enable
;0C-3F: vectors for software interrupts 18-30
;40; external interrupt int0
nop
nop
nop
int1 return_enable
;44; external interrupt int1
;48; external interrupt int2
;4C; internal timer interrupt
;50; BSP receive interrupt
;54; BSP transmit interrupt
;58; TDM receive interrupt
nop
nop
nop
int2 return_enable
nop
nop
nop
tint
return_enable
nop
nop
nop
brint goto breceive
nop
nop
nop
bxint goto bsend
nop
nop
nop
trint return_enable
nop
nop
nop
txint return_enable
nop
;5C; TDM transmit interrupt
;60; external interrupt int3
nop
int3 return_enable
nop
nop
nop
hpiint dgoto #0e4h
nop
;64; HPIint * DO NOT MODIFY IF USING DEBUGGER *
nop
.space 24*16
.sect “buffer”
.space 16*0x800
.sect “result”
.space 16*0x800
.end
;68-7F; reserved area
;Set address of BSP buffer for clearing
;Set address of result for clearing
21