參數(shù)資料
型號: HD404638R
廠商: Hitachi,Ltd.
英文描述: 4-Bit Single-Chip Microcomputer(4位單片微計算機)
中文描述: 4位單片機(4位單片微計算機)
文件頁數(shù): 17/133頁
文件大?。?/td> 803K
代理商: HD404638R
HD404639R Series
17
An interrupt request occurs when the IF is set to 1 and the IM is set to 0. If the IE is 1 at that point, the
interrupt is processed. A priority programmable logic array (PLA) generates the vector address assigned to
that interrupt source.
The interrupt processing sequence is shown in figure 10 and an interrupt processing flowchart is shown in
figure 11. After an interrupt is acknowledged, the previous instruction is completed in the first cycle. The
IE is reset in the second cycle, the carry, status, and program counter values are pushed onto the stack
during the second and third cycles, and the program jumps to the vector address to execute the instruction
in the third cycle.
Program the JMPL instruction at each vector address to branch the program to the start address of the
interrupt program, and reset the IF by a software instruction within the interrupt program.
Table 2 Vector Addresses and Interrupt Priorities
Reset/Interrupt
RESET,
STOPC
*
INT
0
INT
1
Timer A
Priority
Vector Address
$0000
1
$0002
2
$0004
3
$0006
Timer B, INT
2
Timer C, INT
3
Timer D, INT
4
Serial 1 and 2
Note:
*
The
STOPC
interrupt request is valid only in stop mode
4
$0008
5
$000A
6
$000C
7
$000E
Table 3 Interrupt Processing and Activation Conditions
Interrupt Source
INT
0
INT
1
Interrupt Control Bit
Timer A
Timer B
or INT
2
1
Timer C or
INT
3
1
Timer D or
INT
4
1
Serial 1 or
Serial 2
IE
IF0
.
IM0
IF1
.
IM1
IFTA
.
IMTA
IFTB
.
IMTB
+ IF2
.
IM2
IFTC
.
IMTC
+ IF3
.
IM3
IFTD
.
IMTD
+ IF4
.
IM4
IFS1
.
IMS1
+ IFS2
.
IMS2
Note:
*
Can be either 0 or 1. Their values have no effect on operation.
1
1
1
1
1
0
0
0
0
0
0
*
1
0
0
0
0
0
*
*
1
0
0
0
0
*
*
*
1
0
0
0
*
*
*
*
1
0
0
*
*
*
*
*
1
0
*
*
*
*
*
*
1
相關(guān)PDF資料
PDF描述
HD40A4638R 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD40A4639R 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD404639R 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD407A4639R 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD404652 4-Bit Single-Chip Microcomputer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404638RF 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD404639R 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer
HD404639RF 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer
HD404639RSERIES 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
HD404652 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer