English
Language : 

UPD784044 Datasheet, PDF (45/90 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLER
µPD784044(A), 784046(A)
(3) Block transfer mode (with memory pointer): BLKTRS-P
• Operation This is the block transfer mode in (2) with a memory pointer (MEM.PTR) appended. The
appended buffer area of MEMP can be freely set on the memory space.
Remark MEM.PTR is auto-incremented (+1: byte data transfer/+2: word data transfer) each time the
macro service has been executed.
SFRP
Buffer N
_1
MSC
+1 / +2
MEM.PTR
Buffer 1
SFR
Internal bus
• Application example: Same as (2)
(4) Data differential mode: DTADIF
• Operation (a) Calculates the difference between the contents of the SFR specified by SFR pointer
(SFR.PTR) (current value) and the contents of the SFR loaded to the last data buffer (LDB).
(b) Stores the result of the calculation to a predetermined buffer area.
(c) Stores the contents of the current value of SFR to LDB.
(d) The number of times the data is to be transferred (block size) is specified by MSC. The
value of MSC is auto-decremented (–1) each time the macro service has been executed.
(e) When the value of MSC has reached 0, a vectored interrupt request is generated.
Remark The differential calculation can be performed only an SFR of 16-bit configuration.
SFR.PTR
_1
MSC
LDB
Buffer N
SFR
Buffer 1
Differential calculation
Internal bus
• Application example: Measurement of period and pulse width by capture register of timer 0
45