参数资料
型号: M34571GD-XXXFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
封装: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件页数: 11/33页
文件大小: 1526K
代理商: M34571GD-XXXFP
Rev.1.02
May 25, 2007
Page 17 of 124
REJ03B0179-0102
4571 Group
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.
An interrupt activated condition is satisfied (request flag =
“1”)
Interrupt enable bit is enabled (“1”)
Interrupt enable flag is enabled (INTE = “1”)
Table 10 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 bit
Use an interrupt enable bit of interrupt control registers V1 and
V2 to select the corresponding interrupt or skip instruction.
Table 11 shows the interrupt request flag, interrupt enable bit and
skip instruction.
Table 12 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 except the voltage drop detection circuit interrupt
request flag is cleared to “0” when either;
an interrupt occurs, or
the next instruction is skipped with a skip instruction.
The voltage drop detection circuit interrupt request flag cannot
be cleared to “0” at the state that the activated condition is
satisfied.
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 10.
Table 10 Interrupt sources
Priority
level
Interrupt source
Interrupt
address
Interrupt name
Activated
condition
1
Voltage drop
detection circuit
interrupt
when supply
voltage goes
lower than
specified value
Address E
in page 1
2
External 0
interrupt
Level change of
INT0 pin
Address 0
in page 1
3
External 1
interrupt
Level change of
INT1 pin
Address 2
in page 1
4
Timer 1 interrupt
Timer 1
underflow
Address 4
in page 1
5
Timer 2 interrupt
Timer 2
underflow
Address 6
in page 1
6
Timer 3 interrupt
Timer 3
underflow
Address 8
in page 1
Table 11 Interrupt request flag, interrupt enable bit
and skip instruction
Interrupt name
Interrupt
request
flag
Skip
instruction
Interrupt
enable bit
Voltage drop
detection circuit
interrupt
VDF
SNZVD
V23
External 0 interrupt EXF0
SNZ0
V10
External 1 interrupt EXF1
SNZ1
V11
Timer 1 interrupt
T1F
SNZT1
V12
Timer 2 interrupt
T2F
SNZT2
V13
Timer 3 interrupt
T3F
SNZT3
V20
Table 12 Interrupt enable bit function
Interrupt enable
bit
Occurrence of
interrupt
Skip instruction
1
Enabled
Invalid
0
Disabled
Valid
相关PDF资料
PDF描述
M34571G6-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571GDFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571G4FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571G6FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M35015-XXXSP 24 X 10 CHARACTERS CRT CHAR DSPL CTLR, PDIP20
相关代理商/技术参数
参数描述
M3458 功能描述:电缆固定件和配件 RLTCG 3/8 NPT BLACK NO NUT RoHS:否 制造商:Heyco 类型:Cable Grips, Liquid Tight 材料:Nylon 颜色:Black 安装方法:Cable 最大光束直径:11.4 mm 抗拉强度:
M34583EDFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34583MD-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34584EDFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34584MD-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER