参数资料
型号: M34571GD-XXXFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
封装: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件页数: 17/33页
文件大小: 1526K
代理商: M34571GD-XXXFP
Rev.1.02
May 25, 2007
Page 22 of 124
REJ03B0179-0102
4571 Group
(1) External 0 interrupt request flag (EXF0)
External 0 interrupt request flag (EXF0) is set to “1” when a
valid waveform is input to P20/INT0 pin.
The valid waveforms causing the interrupt must be retained at
their level for 4 clock cycles or more of the system clock (Refer
The state of EXF0 flag can be examined with the skip instruction
(SNZ0). Use the interrupt control register V1 to select the
interrupt or the skip instruction. The EXF0 flag is cleared to “0”
when an interrupt occurs or when the next instruction is skipped
with the skip instruction.
External 0 interrupt activated condition
External 0 interrupt activated condition is satisfied when a
valid waveform is input to P20/INT0 pin.
The valid waveform can be selected from rising waveform,
falling waveform or both rising and falling waveforms. An
example of how to use the external 0 interrupt is as follows.
(1) Set the bit 3 of register I1 to “1” for the INT0 pin to be in the
input enabled state.
(2) Select the valid waveform with the bits 1 and 2 of register
I1.
(3) Clear the EXF0 flag to “0” with the SNZ0 instruction.
(4) Set the NOP instruction for the case when a skip is
performed with the SNZ0 instruction.
(5) Set both the external 0 interrupt enable bit (V10) and the
INTE flag to “1.”
The external 0 interrupt is now enabled. Now when a valid
waveform is input to the P20/INT0 pin, the EXF0 flag is set to
“1” and the external 0 interrupt occurs.
(2) External 1 interrupt request flag (EXF1)
External 1 interrupt request flag (EXF1) is set to “1” when a
valid waveform is input to P21/INT1 pin.
The valid waveforms causing the interrupt must be retained at
their level for 4 clock cycles or more of the system clock (Refer
The state of EXF1 flag can be examined with the skip instruction
(SNZ1). Use the interrupt control register V1 to select the
interrupt or the skip instruction. The EXF1 flag is cleared to “0”
when an interrupt occurs or when the next instruction is skipped
with the skip instruction.
External 1 interrupt activated condition
External 1 interrupt activated condition is satisfied when a
valid waveform is input to P21/INT1 pin.
The valid waveform can be selected from rising waveform,
falling waveform or both rising and falling waveforms. An
example of how to use the external 1 interrupt is as follows.
(1) Set the bit 3 of register I2 to “1” for the INT1 pin to be in the
input enabled state.
(2) Select the valid waveform with the bits 1 and 2 of register
I2.
(3) Clear the EXF1 flag to “0” with the SNZ1 instruction.
(4) Set the NOP instruction for the case when a skip is
performed with the SNZ1 instruction.
(5) Set both the external 1 interrupt enable bit (V11) and the
INTE flag to “1.”
The external 1 interrupt is now enabled. Now when a valid
waveform is input to the P21/INT1 pin, the EXF1 flag is set to
“1” and the external 1 interrupt occurs.
相关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