Implementation Details
5-63
Code Development Tools
DATA
_cprte
;–––––––––––––––––––––––––––––––––––––––––––––––––––––
;–––––––––––––––––––––––––––––––––––––––––––––––––––––
; called from C––
; void wait(int msec)
; waits for the amount of msec passed
; Calls: wait1ms
;–––––––––––––––––––––––––––––––––––––––––––––––––––––
_wait
mov a0, *r7 – 2
shlac a0, a0
mov *tempa, a0
mov r4, *tempa
_rep call
wait1ms
;wait 1ms
jrnzp
_rep,r4––
;decrement counter by 2
ret
;–––––––––––––––––––––––––––––––––––––––––––––––––––––
;****************************************************************
; Pause for 1ms
;
; Input
; Output
; Uses
; Calls
wait200us
;****************************************************************
wait1ms
call
wait200us
call
wait200us
call
wait200us
call
wait200us
call
wait200us
ret
;****************************************************************
; Pause for 200us
;
; Input
; Output
; Uses
;****************************************************************
wait200us
rpt
256–2
nop
rpt
256–2
nop
rpt
256–2
nop
rpt
256–2
nop
rpt
256–2
nop
rpt
256–2
nop
rpt
64–2
Summary of Contents for MSP50C614
Page 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 92: ...3 22 ...
Page 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Page 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Page 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Page 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Page 368: ...5 68 ...
Page 394: ...7 12 ...
Page 402: ...A 8 ...
Page 412: ...Packaging B 10 ...