參數(shù)資料
型號: UPD78320
廠商: NEC Corp.
英文描述: 16/8-BIT SINGLE-CHIP MICROCONTROLLER
中文描述: 16/8-BIT單片機(jī)
文件頁數(shù): 45/88頁
文件大?。?/td> 479K
代理商: UPD78320
45
μ
PD78320, 78322
4.3
CONTEXT SWITCHING FUNCTION
This is the function to first select the specified register bank in hardware terms by generating an interrupt request or
executing BRKCS instruction, to branch the selected register bank to the vector address prestored in the register bank, and
also to stack the current PC and PSW contents into the register bank.
4.3.1
Context Switching Function by Interrupt Request
The context switching function start is enabled by setting the
× ×
CSE bit preset at each interrupt request to 1.
If an unmasked interrupt request for which the context switching function has been enabled is generated in the EI state,
the register bank which is specified by the lower 3 bits of the low address (even address) of the corresponding interrupt
vector table address is selected. The vector address prestored in the selected register bank is transferred to the PC, the
PC and PSW contents are saved into the register bank, and the operation is branched to the interrupt service routine.
Return is by means of executing the RETCS instruction.
Figure 4-3. Context Switching by Interrupt Request Generation
Register
Banks
(0 – 7)
RBANK n
PC
PSW
Exchange
Save
A
B
R5
R7
D
H
X
C
R4
R6
E
L
VP
UP
相關(guān)PDF資料
PDF描述
UPD78320GF-3B9 16/8-BIT SINGLE-CHIP MICROCONTROLLER
UPD78320GJ-5BJ 16/8-BIT SINGLE-CHIP MICROCONTROLLER
UPD78322GF 16/8-BIT SINGLE-CHIP MICROCONTROLLER
UPD78322GJ 16/8-BIT SINGLE-CHIP MICROCONTROLLER
UPD78320L 16/8-BIT SINGLE-CHIP MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD78365AGF3B9 制造商: 功能描述: 制造商:undefined 功能描述:
UPD784031GC-8BT-A 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT/16BIT 78K4 CISC ROMLESS 3.3V/5V 80PQFP - Trays 制造商:Renesas Electronics 功能描述:16 制造商:Renesas Electronics 功能描述:16 Cut Tape
UPD784031GK-9EU-A 制造商:Renesas Electronics Corporation 功能描述:16BIT K4 ROMLESS - Bulk
UPD784031YGC-8BT 制造商:Renesas Electronics Corporation 功能描述:
UPD784031YGC-8BT-A 制造商:Renesas Electronics Corporation 功能描述: