ltc1407a-1 Linear Technology Corporation, ltc1407a-1 Datasheet - Page 19

no-image

ltc1407a-1

Manufacturer Part Number
ltc1407a-1
Description
Serial 12-bit, 3msps Simultaneous Sampling Adcs With Shutdown
Manufacturer
Linear Technology Corporation
Datasheet
APPLICATIO S I FOR ATIO
;
bufull:
;
;
bsend
;
;======================================================================
;
;
;
;======================================================================
; ***************************************************************************
; File: BVECTORS.ASM -> Vector Table for the ‘C54x DSKplus
;
;
; ***************************************************************************
; 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.
;
;
; 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.
;
;
;
VECTORS
*
——————————— end ISR ——————————————
DO NOT MODIFY THESE FOUR VECTORS IF YOU PLAN TO USE THE DEBUGGER
———————mask and shift input data ——————————————
b = *ar3+ << -0
b = #07FFFh & b
b = b ^ #2000h
*ar2+ = data(#0bh)
TC = (@ar2 == #02000h)
if (TC) goto start
goto bufull
—————————dummy bsend return————————————
return_enable
.copy “c:\dskplus\1403\s2k14ini.asm”
.space 16*32
.sect “vectors”
.copy “c:\dskplus\1403\bvectors.asm”
.sect “buffer”
.space 16*0x800
.sect “result”
.space 16*0x800
.end
U
U
BSP vectors and Debugger vectors
TDM vectors just return
W
; load acc b with BSP buffer and shift right -0
; mask out the TRISTATE bits with #03FFFh
; invert the MSB for bipolar operation
; store B to out buffer and advance AR2 pointer
; output buffer is 2k starting at 1800h
; restart if out buffer is at 1fffh
;this is also a dummy return to define bsend
;in vector table file BVECTORS.ASM
;clear a chunk at the end to mark the end
U
;Set address of BSP buffer for clearing
;Set address of result for clearing
;The vectors start here
;initialize buffered serial port
;get BSP vectors
LTC1407-1/LTC1407A-1
10.Jul.96
*
19
14071fa

Related parts for ltc1407a-1