beautypg.com

Texas Instruments TLV1562 User Manual

Page 85

background image

Software Overview

79

Interfacing the TLV1562 Parallel ADC to the TMS320C54x DSP

.endif

.if SAVE_INTO_MEMORY

* test for table end, set pointer back if true

TC = (AR0 ==AR7) ; is AR0 = AR7? (table end reached?)

if (NTC) goto STORE_END ;

* set pointer back to table start

AR7 = #(data_loc_A) ; point to first date location of the storage table

.endif

STORE_END: RETURN ; jump back into data aquisition routine

**************************************************************

* IRQ_INT0:

* Interrupt routine of the external interrupt input pin INT0

**************************************************************

IRQ_INT0:

return_enable ; interrupt is not in use

**************************************************************************

* BXINT0:

* Interrupt routine of the serial transmit interrupt of the buffered SPI

**************************************************************************

BXINT0:

return_enable ; interrupt is not in use

.sect ”.text”

.copy ”calibrat.asm”

.end