參數(shù)資料
型號: M34584MD-XXXFP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO42
封裝: 0.450 INCH, 0.80 MM PITCH, PLASTIC, SSOP-42
文件頁數(shù): 78/159頁
文件大?。?/td> 1166K
代理商: M34584MD-XXXFP
Rev.3.00
2004.08.06
page 23 of 155
REJ03B0010-0300Z
4584 Group
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
(4) Internal state during an interrupt
The internal state of the microcomputer during an interrupt is as fol-
lows (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 ex-
ecuted after branching a data store sequence to stack register.
Write the branch instruction to an interrupt service routine at an in-
terrupt address.
Use the RTI instruction to return from an interrupt service 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 the main routine.
(Refer to Figure 13)
Fig. 13 Program example of interrupt processing
Program counter (PC)
............................................................... Each interrupt address
Stack register (SK)
....................................................................................................
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
The address of main routine to be
executed when returning
Fig. 15 Interrupt system diagram
Fig. 14 Internal state when interrupt occurs
EI
RTI
Interrupt
service routine
Interrupt
occurs
Interrupt is
enabled
Main
routine
: Interrupt enabled state
: Interrupt disabled state
V11
EXF0
V10
Address 2
in page 1
Address 4
in page 1
Address 0
in page 1
Timer 1
underflow
Timer 2
underflow
T1F
V12
Request flag
(state retained)
Enable bit
Enable flag
Activated
condition
V13
Address 6
in page 1
A/D conversion
completed
INTE
ADF
T2F
V20
T3F
V21
T4F
V22
INT0 pin interrupt
waveform input
Timer 3
underflow
Timer 4
underflow
INT1 pin interrupt
waveform input
EXF1
Address 8
in page 1
Address A
in page 1
Address C
in page 1
相關(guān)PDF資料
PDF描述
M35017-001FP 24 X 10 CHARACTERS CRT CHAR DSPL CTLR, PDSO20
M35040-001FP 24 X 10 CHARACTERS CRT CHAR DSPL CTLR, PDSO20
M35043-001SP 24 X 12 CHARACTERS CRT CHAR DSPL CTLR, PDIP20
M35043-001FP 24 X 12 CHARACTERS CRT CHAR DSPL CTLR, PDSO20
M35045-XXXSP 24 X 12 CHARACTERS CRT CHAR DSPL CTLR, PDIP20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M3459 功能描述:電纜固定件和配件 RLTCG 3/8 NPT GRAY NO NUT RoHS:否 制造商:Heyco 類型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強度:
M3460 功能描述:電纜固定件和配件 RLTCG 3/4 NPT BLACK NO NUT RoHS:否 制造商:Heyco 類型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強度:
M3460-3R9-083 制造商:Bonitron 功能描述:REGULATOR FOR VFDS
M3460B-E130-R2-DDM-P3 制造商:Bonitron 功能描述:UNDERVOLTAGE RIDE-THRU PRODUCT
M3460D-2L-60 制造商:Bonitron 功能描述:UNDERVOLTAGE RIDE-THRU PRODUCT