參數(shù)資料
型號: UPD78366A
廠商: NEC Corp.
英文描述: 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 16/8-BIT單晶片微控制器
文件頁數(shù): 52/96頁
文件大小: 502K
代理商: UPD78366A
μ
PD78363A, 78365A, 78366A, 78368A
52
4.3
CONTEXT SWITCHING
This function is to select a specific register bank through the hardware, and to branch execution to a vector
address predetermined in the register bank. At the same time, it saves the present contents of the PC and PSW
to the register bank when an interrupt occurs, or when the BRKCS instruction is executed.
4.3.1
Context Switching Function by Interrupt Request
When a context switching enable flag corresponding to each maskable interrupt request is set to 1 in the EI
(interrupt enable) status, the context switching function can be started.
The context switching operation by an interrupt request is performed as follows:
(1) When an interrupt request is generated, a register bank to which the context is to be switched is specified
by the contents of the low-order 3 bits of the row address (even address) of the corresponding vector table.
(2) A predetermined vector address is transferred to the PC in the register bank to which the context is to
be switched, and the contents of the PC and PSW immediately before the switching takes place are saved
to the register bank.
(3) Execution branches to an address indicated by the contents of the PC newly set.
Figure 4-1. Operation of Context Switching
PC
PSW
RP0
RP1
RP2
RP3
RP4
RP5
RP6
RP7
Register Bank
Register Bank
(0-7)
Exchange
Save
相關(guān)PDF資料
PDF描述
UPD78366AGF 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD78368A 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD78368AGF 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD78363AGF 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD78365AGF-3B9 Circular Connector; No. of Contacts:56; Series:MS27467; Body Material:Aluminum; Connecting Termination:Crimp; Connector Shell Size:25; Circular Contact Gender:Pin; Circular Shell Style:Straight Plug; Insert Arrangement:25-4 RoHS Compliant: No
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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 功能描述:
UPD784031YGK-9EU 制造商:Renesas Electronics Corporation 功能描述: