參數(shù)資料
型號: ST20GP6
英文描述: MAX 7000 CPLD 256 MC 208-RQFP
中文描述: GPS處理器
文件頁數(shù): 26/116頁
文件大?。?/td> 1107K
代理商: ST20GP6
ST20-GP1
26/116
4.6.3
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.6.
Trap handlers
The trapped process structure saves some of the state of the process that was running when the
trap was taken, see Table 4.7.
In addition, for each priority, there is an
Enables
register and a
Status
register. The
Enables
register 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
condition 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
disable 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 ldtrappedinstruction (see Section 4.6.4). When the trap handler has completed its
operation it returns to the trapped process via the tret(trap return) instruction. This reloads the
values saved in the trapped process structure and clears the trap flag in
Status
.
Note that when a trap handler is started,
Areg
,
Breg
and
Creg
are not saved. The trap handler
must save the
Areg
,
Breg
,
Creg
registers using stl (store local).
Comments
Iptr
Iptr
of trap handler process.
Base + 3
Wptr
Wptr
of trap handler process.
Base + 2
Status
Contains the
Status
register that the trap handler starts with.
Base + 1
Enables
Contains 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
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.5 for trap codes.
Base + 1
Enables
Interrupt enables.
Base + 0
Table 4.6 Trapped process structure
相關(guān)PDF資料
PDF描述
ST25C02AB1 IC FLEX 6000 FPGA 16K 144-TQFP
ST25C02AB6 Stratix FPGA 25K FBGA-672
ST25C02AM1 IC ACEX 1K FPGA 100K 208-PQFP
ST25C02AM6 Cyclone II FPGA 20K FBGA-256
ST25C04ML1 IC FLEX 6000 FPGA 24K 144-TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST20-GP6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:GPS PROCESSOR
ST20GP6CT33S 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:GPS PROCESSOR
ST20GP6CX33S 功能描述:射頻無線雜項 GPS Processor RoHS:否 制造商:Texas Instruments 工作頻率:112 kHz to 205 kHz 電源電壓-最大:3.6 V 電源電壓-最小:3 V 電源電流:8 mA 最大功率耗散: 工作溫度范圍:- 40 C to + 110 C 封裝 / 箱體:VQFN-48 封裝:Reel
ST20GP6CX33STR 功能描述:射頻無線雜項 GPS Processor RoHS:否 制造商:Texas Instruments 工作頻率:112 kHz to 205 kHz 電源電壓-最大:3.6 V 電源電壓-最小:3 V 電源電流:8 mA 最大功率耗散: 工作溫度范圍:- 40 C to + 110 C 封裝 / 箱體:VQFN-48 封裝:Reel
ST20GP6X33S 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:GPS PROCESSOR