参数资料
型号: M34508G4HFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
封装: 5.30 X12.60 MM, 1.27 MM PITCH, PLASTIC, SOP-20
文件页数: 16/32页
文件大小: 1049K
代理商: M34508G4HFP
4508 Group
Rev.1.03
2009.07.27
page 23 of 140
REJ03B0148-0103
Table 7 External interrupt activated conditions
Name
External 0 interrupt
Input pin
P13/INT
Activated condition
When the next waveform is input to P13/INT pin
Falling waveform (“H”→“L”)
Rising waveform (“L”→“H”)
Both rising and falling waveforms
Valid waveform
selection bit
I11
I12
Fig. 17 External interrupt circuit structure
EXTERNAL INTERRUPTS
The 4508 Group has the external 0 interrupt. An external interrupt
request occurs when a valid waveform is input to an interrupt input
pin (edge detection).
The external interrupt can be controlled with the interrupt control
register I1.
0
1
I12
0
1
EXF0
I11
SNZI0 instruction
I13
P13/INT
(Note 1)
Rising
Falling
One-sided edge
detection circuit
Both edges
detection circuit
External 0
interrupt
This symbol represents a parasitic diode on the port.
Timer 1 count start
synchronization
circuit input
Skip
L10
Level detection circuit
Edge detection circuit
L11
0
1
Key-on wakeup input
(Note 2)
(Note 3)
Note 1:
2: When I12 is 0, “L” level is detected.
When I12 is 1, “H” level is detected.
3: When I12 is 0, falling edge is detected.
When I12 is 1, rising edge is detected.
(1) External 0 interrupt request flag (EXF0)
External 0 interrupt request flag (EXF0) is set to “1” when a valid
waveform is input to P13/INT pin.
The valid waveforms causing the interrupt must be retained at their
level for 4 clock cycles or more of the system clock (Refer to Figure
16).
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 instruc-
tion.
External 0 interrupt activated condition
External 0 interrupt activated condition is satisfied when a valid
waveform is input to P13/INT 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.
Set the bit 3 of register I1 to “1” for the INT pin to be in the input
enabled state.
Select the valid waveform with the bits 1 and 2 of register I1.
Clear the EXF0 flag to “0” with the SNZ0 instruction.
Set the NOP instruction for the case when a skip is performed
with the SNZ0 instruction.
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 wave-
form is input to the P13/INT pin, the EXF0 flag is set to “1” and the
external 0 interrupt occurs.
相关PDF资料
PDF描述
M34508G4GP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4-XXXGP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
相关代理商/技术参数
参数描述
M34508G4HGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4H-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4H-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER