欢迎访问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文件第53页浏览型号ST90135M6的Datasheet PDF文件第54页浏览型号ST90135M6的Datasheet PDF文件第55页浏览型号ST90135M6的Datasheet PDF文件第56页浏览型号ST90135M6的Datasheet PDF文件第58页浏览型号ST90135M6的Datasheet PDF文件第59页浏览型号ST90135M6的Datasheet PDF文件第60页浏览型号ST90135M6的Datasheet PDF文件第61页  
ST90158 - INTERRUPTS  
4.7 TOP LEVEL INTERRUPT  
The Top Level Interrupt channel can be assigned  
either to the external pin NMI or to the Timer/  
Watchdog according to the status of the control bit  
EIVR.TLIS (R246.2, Page 0). If this bit is high (the  
reset condition) the source is the external pin NMI.  
If it is low, the source is the Timer/ Watchdog End  
Of Count. When the source is the NMI external  
pin, the control bit EIVR.TLTEV (R246.3; Page 0)  
selects between the rising (if set) or falling (if reset)  
edge generating the interrupt request. When the  
selected event occurs, the CICR.TLIP bit (R230.6)  
is set. Depending on the mask situation, a Top  
Level Interrupt request may be generated. Two  
kinds of masks are available, a Maskable mask  
and a Non-Maskable mask. The first mask is the  
CICR.TLI bit (R230.5): it can be set or cleared to  
enable or disable respectively the Top Level Inter-  
rupt request. If it is enabled, the global Enable In-  
terrupt bit, CICR.IEN (R230.4) must also be ena-  
bled in order to allow a Top Level Request.  
Warning. The interrupt machine cycle of the Top  
Level Interrupt does not clear the CICR.IEN bit,  
and the corresponding iret does not set it. Fur-  
thermore the TLI never modifies the CPL bits and  
the NICR register.  
4.8 ON-CHIP PERIPHERAL INTERRUPTS  
The general structure of the peripheral interrupt  
unit is described here, however each on-chip pe-  
ripheral has its own specific interrupt unit contain-  
ing one or more interrupt channels, or DMA chan-  
nels. Please refer to the specific peripheral chap-  
ter for the description of its interrupt features and  
control registers.  
The on-chip peripheral interrupt channels provide  
the following control bits:  
Interrupt Pending bit (IP). Set by hardware  
when the Trigger Event occurs. Can be set/  
cleared by software to generate/cancel pending  
interrupts and give the status for Interrupt polling.  
The second mask NICR.TLNM (R247.7) is a set-  
only mask. Once set, it enables the Top Level In-  
terrupt request independently of the value of  
CICR.IEN and it cannot be cleared by the pro-  
gram. Only the processor RESET cycle can clear  
this bit. This does not prevent the user from ignor-  
ing some sources due to a change in TLIS.  
Interrupt Mask bit (IM). If IM = “0”, no interrupt  
request is generated. If IM =“1” an interrupt re-  
quest is generated whenever IP = “1” and  
CICR.IEN = “1”.  
Priority Level (PRL, 3 bits). These bits define  
the current priority level, PRL=0: the highest pri-  
ority, PRL=7: the lowest priority (the interrupt  
cannot be acknowledged)  
The Top Level Interrupt Service Routine cannot be  
interrupted by any other interrupt or DMA request,  
in any arbitration mode, not even by a subsequent  
Top Level Interrupt request.  
Interrupt Vector Register (IVR, up to 7 bits).  
The IVR points to the vector table which itself  
contains the interrupt routine start address.  
Figure 27. Top Level Interrupt Structure  
n
WATCHDOG ENABLE  
WDEN  
CORE  
RESET  
TLIP  
WATCHDOG TIMER  
END OF COUNT  
PENDING  
TOP LEVEL  
MUX  
INTERRUPT  
REQUEST  
MASK  
OR  
NMI  
TLIS  
TLTEV  
TLNM  
TLI  
VA00294  
IEN  
n
57/199  
9
 复制成功!