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

M38027E8SP 参数 Datasheet PDF下载

M38027E8SP图片预览
型号: M38027E8SP
PDF下载: 下载PDF文件 查看货源
内容描述: 单片8位CMOS微机 [SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER]
分类和应用: 微控制器和处理器外围集成电路装置光电二极管计算机可编程只读存储器时钟
文件页数/大小: 52 页 / 667 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M38027E8SP的Datasheet PDF文件第11页浏览型号M38027E8SP的Datasheet PDF文件第12页浏览型号M38027E8SP的Datasheet PDF文件第13页浏览型号M38027E8SP的Datasheet PDF文件第14页浏览型号M38027E8SP的Datasheet PDF文件第16页浏览型号M38027E8SP的Datasheet PDF文件第17页浏览型号M38027E8SP的Datasheet PDF文件第18页浏览型号M38027E8SP的Datasheet PDF文件第19页  
MITSUBISHI MICROCOMPUTERS  
3802 Group  
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER  
INTERRUPTS  
Interrupt operation  
Interrupts occur by sixteen sources: seven external, eight internal,  
When an interrupt is received, the contents of the program counter  
and processor status register are automatically stored into the  
stack. The interrupt disable flag is set to inhibit other interrupts  
from interfering.The corresponding interrupt request bit is cleared  
and the interrupt jump destination address is read from the vector  
table into the program counter.  
and one software.  
Interrupt control  
Each interrupt is controlled by an interrupt request bit, an interrupt  
enable bit, and the interrupt disable flag except for the software in-  
terrupt set by the BRK instruction. An interrupt occurs if the corre-  
sponding interrupt request and enable bits are “1” and the inter-  
rupt disable flag is “0”.  
Notes on use  
When the active edge of an external interrupt (INT0 to INT4,  
CNTR0, or CNTR1) is changed, the corresponding interrupt re-  
quest bit may also be set. Therefore, please take following se-  
quence;  
Interrupt enable bits can be set or cleared by software.  
Interrupt request bits can be cleared by software, but cannot be  
set by software.  
The BRK instruction cannot be disabled with any flag or bit. The I  
(interrupt disable) flag disables all interrupts except the BRK in-  
struction interrupt.  
(1) Disable the external interrupt which is selected.  
(2) Change the active edge selection.  
(3) Clear the interrupt request bit which is selected to “0”.  
(4) Enable the external interrupt which is selected.  
When several interrupts occur at the same time, the interrupts are  
received according to priority.  
Table 1. Interrupt vector addresses and priority  
Interrupt Request  
Remarks  
Vector Addresses (Note 1)  
Interrupt Source  
Reset (Note 2)  
INT0  
Priority  
High  
Low  
Generating Conditions  
1
2
FFFD16  
FFFC16  
At reset  
Non-maskable  
At detection of either rising or  
falling edge of INT0 input  
At detection of either rising or  
falling edge of INT1 input  
At completion of serial I/O1  
data reception  
External interrupt  
FFFB16  
FFF916  
FFF716  
FFFA16  
FFF816  
FFF616  
(active edge selectable)  
External interrupt  
INT1  
3
4
(active edge selectable)  
Serial I/O1  
reception  
Valid when serial I/O1 is selected  
At completion of serial I/O1  
transfer shift or when  
Serial I/O1  
5
FFF516  
FFF416  
Valid when serial I/O1 is selected  
transmission  
transmission buffer is empty  
At timer X underflow  
Timer X  
Timer Y  
Timer 1  
Timer 2  
6
7
8
9
FFF316  
FFF116  
FFEF16  
FFED16  
FFF216  
FFF016  
FFEE16  
FFEC16  
At timer Y underflow  
At timer 1 underflow  
STP release timer underflow  
At timer 2 underflow  
At detection of either rising or  
falling edge of CNTR0 input  
At detection of either rising or  
falling edge of CNTR1 input  
At completion of serial I/O2  
data transfer  
External interrupt  
CNTR0  
CNTR1  
Serial I/O2  
INT2  
10  
11  
12  
13  
14  
FFEB16  
FFE916  
FFE716  
FFE516  
FFE316  
FFEA16  
FFE816  
FFE616  
FFE416  
FFE216  
(active edge selectable)  
External interrupt  
(active edge selectable)  
Valid when serial I/O2 is selected  
At detection of either rising or  
falling edge of INT2 input  
At detection of either rising or  
falling edge of INT3 input  
At detection of either rising or  
falling edge of INT4 input  
At completion of A-D conversion  
External interrupt  
(active edge selectable)  
External interrupt  
INT3  
(active edge selectable)  
External interrupt  
INT4  
15  
16  
17  
FFE116  
FFDF16  
FFDD16  
FFE016  
FFDE16  
FFDC16  
(active edge selectable)  
A-D converter  
BRK instruction  
At BRK instruction execution  
Non-maskable software interrupt  
Note 1: Vector addresses contain interrupt jump destination addresses.  
2: Reset function in the same way as an interrupt with the highest priority.  
14