參數(shù)資料
型號: HD40A46612
廠商: Hitachi,Ltd.
英文描述: Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
中文描述: 低電壓如同在微機(jī)芯片的DTMF產(chǎn)生電路(帶雙音多頻電路的低電壓微計(jì)算機(jī))
文件頁數(shù): 23/142頁
文件大小: 894K
代理商: HD40A46612
HD404669 Series
23
Interrupts
The MCU has 9 interrupt sources: five external signals (
INT
0
,
INT
1
, INT
2
–INT
4
), three timer/ counters
(timers A, C, and D), serial interface (Serial 1).
An interrupt request flag (IF), interrupt mask (IM), and vector address are provided for each interrupt
source, and an interrupt enable flag (IE) controls the entire interrupt process.
As vector addresses are shared by interrupt sources timer C and INT
3
, and timer D and INT
4
, so the type of
request that has occurred must be checked at the beginning of interrupt processing.
Interrupt Control Bits and Interrupt Processing:
Locations $000 to $003 and $022 to $023 in RAM are
reserved for the interrupt control bits which can be accessed by RAM bit manipulation instructions.
The interrupt request flag (IF) cannot be set by software. MCU reset initializes the interrupt enable flag
(IE) and the IF to 0 and the interrupt mask (IM) to 1.
A block diagram of the interrupt control circuit is shown in figure 9, interrupt priorities and vector
addresses are listed in table 2, and interrupt processing conditions for the 9 interrupt sources are listed in
table 3.
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
INT
2
Timer C, INT
3
Timer D, INT
4
Serial 1
Note:
4
$0008
5
$000A
6
$000C
7
$000E
*
The
STOPC
interrupt request is valid only in stop mode.
相關(guān)PDF資料
PDF描述
HD40A4668 Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
HD40A4669 Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
HD404668 Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
HD404669 Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
HD407A4669 Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit(帶雙音多頻電路的低電壓微計(jì)算機(jī))
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD40A46612H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD40A4668 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD40A4668H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD40A4669 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD40A4669H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit