|
SLAS191A Datasheet, PDF (76/86 Pages) Texas Instruments – Starter Kit Evaluation Kit Manual | |||
|
◁ |
RX:
WAIT:
TX:
;
ENDL;
UART:
EINT
CALL
MOV
MOV
MOV.B
CMP.B
JEQ
CLR.B
CMP.B
&PREPRX
#0AA55h,&03DEh
#STRING,R7
#RXBUF,R6
#0h,r6
WAIT
&RXBUF
#cr,R6
JEQ
MOV.B
INC
CMP
TX
R6,0(R7)
R7
#064h,R7
JL
WAIT
MOV
#STRING,R11
MOV
#0h,1(R7)
BIC
#01h,&200h
CALL
&TXTABLE
CALL
&PREPRX
MOV
#00h,&03DEh
JMP
ENDL
BR
&INT_RXTX
.sect âInt_Vectâ,03E0h
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word RESET
.word UART
.word RESET
.word RESET
.word RESET
.end
; enable interrupt
; &05DEh on the MSP430X33x
; load string address
; char. in rxbuf ?
; no, then wait
; end of line
â received?
; put char. into string
; all 100 characters are
; received ?
; load string address
; end of text character
; use only if no special
; treatment of ESC is wanted
; &05DEh on the MSP430X33x
; &05E0h on the MSP430X33x
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; Reset
; UART Routine
; Reset
; Reset
; Reset
5â10
|
▷ |