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

ST90135M6 参数 Datasheet PDF下载

ST90135M6图片预览
型号: ST90135M6
PDF下载: 下载PDF文件 查看货源
内容描述: 8月16号位微控制器( MCU ), 16至64K的ROM 。 OTP或EPROM 。 512 2K的RAM - ST9 +系列\n [8/16-BIT MICROCONTROLLER (MCU) WITH 16 TO 64K ROM. OTP OR EPROM. 512 TO 2K RAM - ST9 + FAMILY ]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 199 页 / 2805 K
品牌: ETC [ ETC ]
 浏览型号ST90135M6的Datasheet PDF文件第44页浏览型号ST90135M6的Datasheet PDF文件第45页浏览型号ST90135M6的Datasheet PDF文件第46页浏览型号ST90135M6的Datasheet PDF文件第47页浏览型号ST90135M6的Datasheet PDF文件第49页浏览型号ST90135M6的Datasheet PDF文件第50页浏览型号ST90135M6的Datasheet PDF文件第51页浏览型号ST90135M6的Datasheet PDF文件第52页  
ST90158 - INTERRUPTS  
4 INTERRUPTS  
4.1 INTRODUCTION  
4.2 INTERRUPT VECTORING  
The ST9 responds to peripheral and external  
events through its interrupt channels. Current pro-  
gram execution can be suspended to allow the  
ST9 to execute a specific response routine when  
such an event occurs, providing that interrupts  
have been enabled, and according to a priority  
mechanism. If an event generates a valid interrupt  
request, the current program status is saved and  
control passes to the appropriate Interrupt Service  
Routine.  
The ST9 implements an interrupt vectoring struc-  
ture which allows the on-chip peripheral to identify  
the location of the first instruction of the Interrupt  
Service Routine automatically.  
When an interrupt request is acknowledged, the  
peripheral interrupt module provides, through its  
Interrupt Vector Register (IVR), a vector to point  
into the vector table of locations containing the  
start addresses of the Interrupt Service Routines  
(defined by the programmer).  
The ST9 CPU can receive requests from the fol-  
lowing sources:  
Each peripheral has a specific IVR mapped within  
its Register File pages.  
– On-chip peripherals  
The Interrupt Vector table, containing the address-  
es of the Interrupt Service Routines, is located in  
the first 256 locations of Memory pointed to by the  
ISR register, thus allowing 8-bit vector addressing.  
For a description of the ISR register refer to the  
chapter describing the MMU.  
– External pins  
– Top-Level Pseudo-non-maskable interrupt  
According to the on-chip peripheral features, an  
event occurrence can generate an Interrupt re-  
quest which depends on the selected mode.  
The user Power on Reset vector is stored in the  
first two physical bytes in memory, 000000h and  
000001h.  
Up to eight external interrupt channels, with pro-  
grammable input trigger edge, are available. In ad-  
dition, a dedicated interrupt channel, set to the  
Top-level priority, can be devoted either to the ex-  
ternal NMI pin (where available) to provide a Non-  
Maskable Interrupt, or to the Timer/Watchdog. In-  
terrupt service routines are addressed through a  
vector table mapped in Memory.  
The Top Level Interrupt vector is located at ad-  
dresses 0004h and 0005h in the segment pointed  
to by the Interrupt Segment Register (ISR).  
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.  
Figure 19. Interrupt Response  
n
NORMAL  
PROGRAM  
FLOW  
INTERRUPT  
SERVICE  
ROUTINE  
Note: The first 256 locations of the memory seg-  
ment pointed to by ISR can contain program code.  
4.2.1 Divide by Zero trap  
CLEAR  
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.  
INTERRUPT  
PENDING BIT  
IRET  
INSTRUCTION  
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).  
VR001833  
48/199  
9
 复制成功!