參數(shù)資料
型號: 4250
英文描述: Low-Cost, 2.7V to 5.5V Temperature Switches in a SOT23
中文描述: 4250組數(shù)據(jù)表數(shù)據(jù)表652K/NOV.30.97
文件頁數(shù): 17/59頁
文件大?。?/td> 652K
代理商: 4250
16
MITSUBISHI MICROCOMPUTERS
4250 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
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, skip flag
.........
Stored in the interrupt stack register (SDP) automatically
The address of main routine to
be executed when returning
Fig. 14 Internal state when interrupt occurs
T1F
V1
1
EXF0
V1
0
Address 2
in page 1
Address 0
in page 1
Request flag
(state retained)
Enable
bit
Enable
flag
Activated
condition
INT pin
(L
H or
H
L input)
Timer 1
underflow
EI
RTI
Interrupt
service routine
Interrupt
occurs
Interrupt
is enabled
Main routine
: Interrupt enabled state
: Interrupt disabled state
(4) Internal state during an interrupt
The internal state of the microcomputer during an in-
terrupt 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 disa-
bled.
Interrupt request flag
Only the request flag for the current interrupt source
is cleared to “0.”
Data pointer, carry flag and skip flag
The contents of these pointer 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 branching a data store se-
quence to stack register. 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 per-
formed after executing 1 instruction (just after the next
instruction is executed). Accordingly, when the EI in-
struction 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
Fig. 15 Interrupt system diagram
相關(guān)PDF資料
PDF描述
4251 ATEMSCHUTZ MASKE WARTUNGSFREI
425 SURFACE MOUNT FUSES
4263 Low-Cost, 2.7V to 5.5V Temperature Switches in a SOT23
23012 PATCH LEAD EXT UTP 1M
23132 CPU Peripheral Monitor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
42500 功能描述:環(huán)境檢測設(shè)備 THERMOMETER POCKET RoHS:否 制造商:Fluke 設(shè)備類型:Vibration Meter 測量儀器:Vibration
4250-0000LCMD 制造商:3M Electronic Products Division 功能描述:
4250-0000NCMD 制造商:3M Electronic Products Division 功能描述:
425-00001-901 制造商:Volex Group 功能描述:
425-00001-904 制造商:Volex Group 功能描述: