參數(shù)資料
型號: M34551E8FP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP48
封裝: 7 X 10 MM, 0.65 MM PITCH, PLASTIC, QFP-48
文件頁數(shù): 77/155頁
文件大?。?/td> 1329K
代理商: M34551E8FP
FUNCTIONAL BLOCK OPERATIONS
HARDWARE
1-16
4551 Group User’s Manual
Program counter (PC)
........................................................ Each interrupt address
Stack register (SK)
.......... The address of main routine to be executed when returning
Interrupt enable flag (INTE)
........................................................... 0 (Interrupt disabled)
Interrupt request flag (only the flag for the current interrupt source)
........................................................................................... 0
Data pointer, carry flag, registers A and B, skip flag
...... Stored in the interrupt stack register (SDP) automatically
Fig. 13 Program example of interrupt processing
(4) Internal state during an interrupt
The internal state of the microcomputer during an interrupt is
as follows (Figure 14).
Program counter (PC)
An interrupt address is set in program counter. The
address to be executed when returning to the main routine
is automatically stored in the stack register (SK).
Interrupt enable flag (INTE)
INTE flag is cleared to “0” so that interrupts are disabled.
Interrupt request flag
Only the request flag for the current interrupt source is
cleared to “0.”
Data pointer, carry flag, skip flag, registers A and B
The contents of these registers and flags are stored
automatically in the interrupt stack register (SDP).
(5) Interrupt processing
When an interrupt occurs, a program at an interrupt address
is executed after a branch to a sequence for storing data into
stack register is performed. Write the branch instruction to
an interrupt service routine at an interrupt address.
Use the RTI instruction to return to main routine.
Interrupt enabled by executing the EI instruction is performed
after executing 1 instruction (just after the next instruction is
executed). Accordingly, when the EI instruction is executed
just before the RTI instruction, interrupts are enabled after
returning to the main routine. (Refer to Figure 13)
Fig. 14 Internal state when interrupt occurs
Fig. 15 Interrupt system diagram
EI
RTI
Interrupt
service routine
Interrupt
occurs
Interrupt
is enabled
Main
routine
: Interrupt enabled state
: Interrupt disabled state
T1F
V12
EXF0
V10
Address 4 in
page 1
Address 0 in
page 1
T2F
V13
Address 6 in
page 1
Timer 1
underflow
Request
flag
(state retained)
Enable
bit
Enable
flag
Activated
condition
INT pin
(L
→ H or
H
→ L input)
INTE
Timer 2
underflow
相關(guān)PDF資料
PDF描述
M34551M4-XXXFP 4-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP48
M34552G8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552M8H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552G8HFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
M34556G8HFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO42
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34551E8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTER
M34551M4 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34551M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTER
M34551M8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34552G8FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER