參數(shù)資料
型號: M34570
廠商: Mitsubishi Electric Corporation
英文描述: Single Chip 4 Bits CMOS Microcomputer(4位單片機)
中文描述: 4位單片微機的CMOS(4位單片機)
文件頁數(shù): 13/68頁
文件大?。?/td> 319K
代理商: M34570
13
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
INTERRUPT FUNCTION
The interrupt type is a vectored interrupt branching to an individual
address (interrupt address) according to each interrupt source.
An interrupt occurs when the following 3 conditions are satisfied.
Interrupt enable flag (INTE) = “1” (Interrupt enabled)
Interrupt enable bit = “1” (Interrupt request occurrence enabled)
An interrupt activated condition is satisfied
(request flag = “1”)
Table 3 shows interrupt sources. (Refer to each interrupt request
flag for details of activated conditions.)
(1) Interrupt enable flag (INTE)
The interrupt enable flag (INTE) controls whether the every
interrupt enable/disable. Interrupts are enabled when INTE
flag is set to “1” with the EI instruction and disabled when
INTE flag is cleared to “0” with the DI instruction. When any
interrupt occurs, the INTE flag is automatically cleared to “0,”
so that other interrupts are disabled until the EI instruction is
executed.
(2) Interrupt enable bits (V1
0
–V1
3
, V2
0
–V2
3
)
Use an interrupt enable bit of interrupt control registers V1
and V2 to select the corresponding interrupt request or skip
instruction.
Table 4 shows the interrupt request flag, interrupt enable bit
and skip instruction.
Table 5 shows the interrupt enable bit function.
(3) Interrupt request flag
When the activated condition for each interrupt is satisfied,
the corresponding interrupt request flag is set to “1.” Each
interrupt request flag is cleared to “0” when either;
an interrupt occurs, or
the next instruction is skipped with a skip instruction.
Each interrupt request flag is set when the activated condition
is satisfied even if the interrupt is disabled by the INTE flag or
its interrupt enable bit. Once set, the interrupt request flag
retains set until a clear condition is satisfied.
Accordingly, an interrupt occurs when the interrupt disable
state is released while the interrupt request flag is set.
If more than one interrupt request flag is set when the interrupt
disable state is released, the interrupt priority level is as follows
shown in Table 3.
Table 3 Interrupt sources
Priority
level
1
Interrupt
address
Address 0
in page 1
Address 4
in page 1
Address 6
in page 1
Address 8
in page 1
Interrupt name
External 0 interrupt
Timer 1 interrupt
Timer 2 interrupt
Timer 3 interrupt
Activated condition
Level change of
INT pin
Timer 1 underflow
Timer 2 underflow
Timer 3 underflow
2
3
4
Table 4 Interrupt request flag, interrupt enable bit and skip
instruction
Interrupt name
External 0 interrupt
Timer 1 interrupt
Timer 2 interrupt
Timer 3 interrupt
T3F
Skip instruction
SNZ0
SNZT1
SNZT2
SNZT3
Request flag
EXF0
T1F
T2F
Enable bit
V1
0
V1
2
V1
3
V2
0
Table 5 Interrupt enable bit function
Skip instruction
Invalid
Valid
Interrupt enable bit
1
0
Occurrence of
interrupt request
Enabled
Disabled
相關PDF資料
PDF描述
M34570M4-081FP SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570M4-202FP SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570M4-214FP SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570M4-227FP SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570M4-302FP SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M34570E8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570E8FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570ED 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570EDFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34570M4 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER