參數(shù)資料
型號(hào): UPD784915A
廠商: NEC Corp.
英文描述: 16-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 16位單晶片微控制器
文件頁(yè)數(shù): 52/86頁(yè)
文件大?。?/td> 446K
代理商: UPD784915A
μ
PD784915A, 784916A
52
4.1.3 Macro service
The macro service is a function to transfer data between the memory and a special function register (SFR) without
intervention by the CPU. A macro service controller accesses the memory and SFR and directly transfers the data.
Because the status of the CPU is not saved or restored, data can be transferred more quickly than context switching.
The processing that can be executed with the macro service is described below.
Figure 4-3. Macro Service
(1) Counter mode
In this mode, the value of the macro service counter (MSC) is decremented when an interrupt occurs. This mode
can be used to execute the division operation of an interrupt or count the number of times an interrupt has
occurred.
When the value of the macro service counter has been decremented to 0, a vector interrupt occurs.
(2) Compound data transfer mode
When an interrupt occurs, data are simultaneously transferred from an 8-bit SFR to memory, a 16-bit SFR to
memory (word), memory (byte) to an 8-bit SFR, and memory (word) to a 16-bit SFR (3 points MAX. for each
transfer).
This mode can also be used to exchange data, instead of transferring data.
This mode can be used for automatic transfer/reception by the serial interface or automatic updating of data/timing
by the serial output port.
When the value of the macro service counter reaches to 0, a vector interrupt occurs.
CPU
Memory
SFR
Read
Write
Write
Read
Internal bus
Macro service
controller
MSC
-
1
SFR<4>-1
SFR<4>-2
SFR<4>-3
SFR<3>-1
SFR<3>-2
SFR<3>-3
SFR<2>-1
SFR<2>-2
SFR<2>-3
SFR<1>-1
SFR<1>-2
SFR<1>-3
.
Memory
Internal bus
Internal bus
相關(guān)PDF資料
PDF描述
UPD784915AGF 16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784916A 16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784916AGF 16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784915B 16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784915BGF 16-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD784935AGF-113-3BA 制造商:NEC Electronics Corporation 功能描述:
UPD784938AGF-188-3BA 制造商:NEC Electronics Corporation 功能描述:
UPD789104AMC(A)-968-5A4-E2 制造商:Renesas Electronics Corporation 功能描述:
UPD789104AMC-671-5A4-E1 制造商:Renesas Electronics Corporation 功能描述:
UPD789104AMC-672-5A4-E1 制造商:Renesas Electronics Corporation 功能描述: