công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

SLAS191A bảng dữ liệu(PDF) 57 Page - Texas Instruments

tên linh kiện SLAS191A
Giải thích chi tiết về linh kiện  Starter Kit Evaluation Kit Manual
PDF  86 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  TI [Texas Instruments]
Trang chủ  http://www.ti.com
Logo TI - Texas Instruments

SLAS191A bảng dữ liệu(HTML) 57 Page - Texas Instruments

Back Button SLAS191A Datasheet HTML 53Page - Texas Instruments SLAS191A Datasheet HTML 54Page - Texas Instruments SLAS191A Datasheet HTML 55Page - Texas Instruments SLAS191A Datasheet HTML 56Page - Texas Instruments SLAS191A Datasheet HTML 57Page - Texas Instruments SLAS191A Datasheet HTML 58Page - Texas Instruments SLAS191A Datasheet HTML 59Page - Texas Instruments SLAS191A Datasheet HTML 60Page - Texas Instruments SLAS191A Datasheet HTML 61Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 86 page
background image
3–1
3 Monitor Restrictions
3.1
Register R4
The Monitor Program uses the R4 register internally to return data from the user application to the
Hyperterminal. Modifications to the value stored in R4 will result in unexpected behavior of the Monitor
Program. The Monitor command r, to change the register contents, is not supported for R4. The register R4
can be modified by the user application code. Consequently, the user should exercise caution when using
this register.
It is possible to interrupt the user application by pressing the ESC key on the keyboard. This works only if
the GIE bit has not been cleared. One exception is possible in spite of a cleared GIE flag. If the user
application runs on a breakpoint, program execution will branch to the Monitor as the program runs.
Problems may occur if the user application uses most of its time in interrupt routines. While the application
is servicing an interrupt, a new interrupt can only occur if the GIE bit has been set. The GIE bit is set only
if the first interrupt routine explicitly sets it within the routine itself, thereby allowing for nested interrupts.
Starting the user application with the Monitor causes the Monitor Program to set the GIE bit. If the GIE-bit
was reset before in the user application, it will remain set. This ensures the availability of the RS232
communication but influences the user’s software application. The particular interrupts can be enabled with
their associated interrupt flags.
3.2
The Instruction CALL R4
In the user application, it is possible to return to the Monitor with the instruction CALL R4. The monitor should
be started prior to this so that the contents in R4 are valid and to initialize the Monitor.
A single step should not be executed over the CALL R4 instruction because this will cause unpredictable
behavior of the Monitor. The following code is an example that uses the instruction CALL R4.
NOTE:
Execute the single step command only if the program counter points to an instruction in
the RAM.
WDTCTL
.equ
0120h
WDTHold
.equ
80h
WDT_wrkey
.equ
05a00h
.text
0240h
RESET:
MOV
#03DEh,SP
MOV
# (WDTHold+WDT_wrkey),&WDTCTL
; stop Watchdog
; Timer
MOV
#0h,R7
WAIT:
INC
R7
CALL
R4
.sect
“Int_Vect” ,03FEh
.word
RESET
.end
Figure 3–1. CALL R4 Instruction Code



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com