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

SM5964BW44JP 参数 Datasheet PDF下载

SM5964BW44JP图片预览
型号: SM5964BW44JP
PDF下载: 下载PDF文件 查看货源
内容描述: SM5964B\n8位微控制器\n64KB具有ISP功能的Flash\n和1KB RAM的嵌入式 [SM5964B 8-Bit Micro-controller 64KB with ISP Flash & 1KB RAM embedded]
分类和应用: 微控制器外围集成电路
文件页数/大小: 53 页 / 1710 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM5964BW44JP的Datasheet PDF文件第34页浏览型号SM5964BW44JP的Datasheet PDF文件第35页浏览型号SM5964BW44JP的Datasheet PDF文件第36页浏览型号SM5964BW44JP的Datasheet PDF文件第37页浏览型号SM5964BW44JP的Datasheet PDF文件第39页浏览型号SM5964BW44JP的Datasheet PDF文件第40页浏览型号SM5964BW44JP的Datasheet PDF文件第41页浏览型号SM5964BW44JP的Datasheet PDF文件第42页  
SM5964B
8-Bit Micro-controller
64KB with ISP Flash
& 1KB RAM embedded
9. Interrupt
The SM5964B provides 7 interrupt sources with two priority levels. Each source has its own request flag(s) located
in a special function register. Each interrupt requested by the corresponding flag could individually be enabled or
disabled by the enable bits in SFR’s IE.
When the interrupt occurs, the engine will vector to the predetermined address as given in Table 9-1. Once
interrupt service has begun, it can be interrupted only by a higher priority interrupt. The interrupt service is
terminated by a return from instruction RETI. When an RETI is performed, the processor will return to the
instruction that would have been next when interrupt occurred.
When the interrupt condition occurs, the processor will also indicate this by setting a flag bit. This bit is set
regardless of whether the interrupt is enabled or disabled. Each interrupt flag is sampled once per machine cycle,
and then samples are polled by hardware. If the sample indicates a pending interrupt when the interrupt is enabled,
then interrupt request flag is set. On the next instruction cycle the interrupt will be acknowledged by hardware
forcing an LCALL to appropriate vector address.
Interrupt response will require a varying amount of time depending on the state of microcontroller when the
interrupt occurs. If microcontroller is performing an interrupt service with equal or greater priority, the new interrupt
will not be invoked. In other cases, the response time depends on current instruction.
Table 9-1: Interrupt vectors
Interrupt Vector
Interrupt Request Flags
Address
IE0 – External interrupt 0
0003h
TF0 – Timer 0 interrupt
000Bh
IE1 – External interrupt 1
TF1 – Timer 1 interrupt
RI/TI – Serial channel interrupt
TF2/EXF2 – Timer 2 interrupt
Two Wire Serial Interface
0013h
001Bh
0023h
002Bh
003Bh
Priority
level
1 (highest)
2
3
4
5
6
7
Interrupt Number
*(use Keil C Tool)
0
1
2
3
4
5
7
*See Keil C about C51 User’s Guide about Interrupt Function description
Mnemonic
IE
IE1
IP
IP1
Description
Interrupt Enable
Register
Interrupt Enable
Register 1
Interrupt Priority
Register
Interrupt Priority
Register 1
Mnemonic: IE
7
6
EA
-
Dir.
A8H
A9H
B8H
B9H
Bit 7
EA
-
-
-
Bit 6
Bit 5
Interrupt
-
-
-
-
ET2
-
PT2
-
Bit 4
ES
-
PS
-
Bit 3
ET1
-
PT1
-
Bit 2
EX1
-
PX1
-
Bit 1
ET0
ETWSI
PT0
PTWSI
Bit 0
EX0
-
PX0
-
RST
00H
00H
00H
00H
5
ET2
4
ES
3
ET1
2
EX1
1
ET0
Address: A8h
0
Reset
EX0
00h
EA: EA=0 – Disable all interrupt.
EA=1 – Enable all interrupt.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M081
Ver A SM5964B 3/7/2014
- 38 -