欢迎访问ic37.com |
会员登录 免费注册
发布采购

ST92F150JDV1Q6 参数 Datasheet PDF下载

ST92F150JDV1Q6图片预览
型号: ST92F150JDV1Q6
PDF下载: 下载PDF文件 查看货源
内容描述: 8月16日- BIT单电压闪存单片机系列内存, E3 TMEMULATED EEPROM , CAN 2.0B和J1850 BLPD [8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TMEMULATED EEPROM, CAN 2.0B AND J1850 BLPD]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管可编程只读存储器电动程控只读存储器电可擦编程只读存储器时钟
文件页数/大小: 426 页 / 3830 K
品牌: STMICROELECTRONICS [ ST ]
 浏览型号ST92F150JDV1Q6的Datasheet PDF文件第88页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第89页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第90页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第91页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第93页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第94页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第95页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第96页  
ST92F124/F150/F250 - INTERRUPTS  
The Top Level Interrupt vector is located at ad-  
dresses 0004h and 0005h in the segment pointed  
to by the Interrupt Segment Register (ISR).  
If ENCSR is reset, the CPU works in original ST9  
compatibility mode. For the duration of the inter-  
rupt service routine, ISR is used instead of CSR,  
and the interrupt stack frame is identical to that of  
the original ST9: only the PC and Flags are  
pushed.  
If an external watchdog is used, refer to the Regis-  
ter and Memory Map section for details on using  
vector locations 0006h to 0009h. Otherwise loc-  
tions 0006h to 0007h must contain FFFFh.  
This avoids saving the CSR on the stack in the  
event of an interrupt, thus ensuring a faster inter-  
rupt response time.  
With one Interrupt Vector register, it is possible to  
address several interrupt service routines; in fact,  
peripherals can share the same interrupt vector  
register among several interrupt channels. The  
most significant bits of the vector are user pro-  
grammable to define the base vector address with-  
in the vector table, the least significant bits are  
controlled by the interrupt module, in hardware, to  
select the appropriate vector.  
It is not possible for an interrupt service routine to  
perform inter-segment calls or jumps: these in-  
structions would update the CSR, which, in this  
case, is not used (ISR is used instead). The code  
segment size for all interrupt service routines is  
thus limited to 64K bytes.  
ST9+ mode (ENCSR = 1)  
Note: The first 256 locations of the memory seg-  
ment pointed to by ISR can contain program code.  
If ENCSR is set, ISR is only used to point to the in-  
terrupt vector table and to initialize the CSR at the  
beginning of the interrupt service routine: the old  
CSR is pushed onto the stack together with the PC  
and flags, and CSR is then loaded with the con-  
tents of ISR.  
5.2.1 Divide by Zero trap  
The Divide by Zero trap vector is located at ad-  
dresses 0002h and 0003h of each code segment;  
it should be noted that for each code segment a  
Divide by Zero service routine is required.  
In this case, iretwill also restore CSR from the  
stack. This approach allows interrupt service rou-  
tines to access the entire 4 Mbytes of address  
space. The drawback is that the interrupt response  
time is slightly increased, because of the need to  
also save CSR on the stack.  
Warning. Although the Divide by Zero Trap oper-  
ates as an interrupt, the FLAG Register is not  
pushed onto the system Stack automatically. As a  
result it must be regarded as a subroutine, and the  
service routine must end with the RET instruction  
(not IRET ).  
Full compatibility with the original ST9 is lost in this  
case, because the interrupt stack frame is differ-  
ent.  
5.2.2 Segment Paging During Interrupt  
Routines  
ENCSR Bit  
Mode  
0
1
ST9 Compatible  
ST9+  
The ENCSR bit in the EMR2 register can be used  
to select between original ST9 backward compati-  
bility mode and ST9+ interrupt management  
mode.  
Pushed/Popped  
Registers  
Max. Code Size  
for interrupt  
PC, FLAGR,  
CSR  
PC, FLAGR  
64KB  
No limit  
ST9 backward compatibility mode (ENCSR = 0)  
Within 1 segment Across segments  
service routine  
92/426  
9
 复制成功!