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

X  

ST20-GP6 bảng dữ liệu(PDF) 27 Page - STMicroelectronics

tên linh kiện ST20-GP6
Giải thích chi tiết về linh kiện  GPS PROCESSOR
PDF  123 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-GP6 bảng dữ liệu(HTML) 27 Page - STMicroelectronics

Back Button ST20-GP6 Datasheet HTML 23Page - STMicroelectronics ST20-GP6 Datasheet HTML 24Page - STMicroelectronics ST20-GP6 Datasheet HTML 25Page - STMicroelectronics ST20-GP6 Datasheet HTML 26Page - STMicroelectronics ST20-GP6 Datasheet HTML 27Page - STMicroelectronics ST20-GP6 Datasheet HTML 28Page - STMicroelectronics ST20-GP6 Datasheet HTML 29Page - STMicroelectronics ST20-GP6 Datasheet HTML 30Page - STMicroelectronics ST20-GP6 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 123 page
background image
ST20-GP6
27/123
4.6.3 Trap handlers
For each trap handler there is a trap handler structure and a trapped process structure. Both the
trap handler structure and the trapped process structure are in memory and can be accessed via
instructions, see section 4.6.4.
The trap handler structure specifies what should happen when a trap condition is present, see
Table 4.5.
The trapped process structure saves some of the state of the process that was running when the
trap was taken, see Table 4.6.
In addition, for each priority, there is an
Enables register and a Status register. The Enables regis-
ter contains flags to enable each cause of trap. The
Status register contains flags to indicate which
trap conditions have been detected. The
Enables and Status register bit encodings are given in
Table 4.4.
A trap will be taken at an interruptible point if a trap is set and the corresponding trap enable bit is
set in the
Enables register. If the trap is not enabled then nothing is done with the trap condition. If
the trap is enabled then the corresponding bit is set in the
Status register to indicate the trap con-
dition has occurred.
When a process takes a trap the processor saves the existing
Iptr, Wptr, Status and Enables in
the trapped process structure. It then loads
Iptr, Wptr and Status from the equivalent trap handler
structure and ANDs the value in
Enables with the value in the structure. This allows the user to dis-
able various events while in the handler, in particular a trap handler must disable all the traps of its
trap group to avoid the possibility of a handler trapping to itself.
The trap handler then executes. The values in the trapped process structure can be examined
using the ldtrapped instruction (see section 4.6.4). When the trap handler has completed its opera-
Comments
Location
Iptr
Iptr of trap handler process.
Base + 3
Wptr
Wptr of trap handler process. A null Wptr indicates that a trap handler has not been installed. Base + 2
Status
Contains the
Status register that the trap handler starts with.
Base + 1
Enables
A word which encodes the trap enable and global interrupt masks, which will be ANDed with
the existing masks to allow the trap handler to disable various events while it runs.
Base + 0
Table 4.5 Trap handler structure
Comments
Location
Iptr
Points to the instruction after the one that caused the trap condition.
Base + 3
Wptr
Wptr of the process that was running when the trap was taken.
Base + 2
Status
The relevant trap bit is set, see Table 4.3 for trap codes.
Base + 1
Enables
Interrupt enables.
Base + 0
Table 4.6 Trapped process structure



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 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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