Panasonic MN101C77C User Manual

Page of 544
Operation
Chapter 14    Automatic Transfer Controller
XIV - 31
13
14-3-18 Transfer  Mode D
In transfer mode D, ATC1 automatically transfers one byte of data from any memory space to any other
memory space every time an ATC1 activation request occurs.
AT1MAP0
AT1MAP0 + 1
AT1MAP0 + 2
AT1MAP0 + 3
Memory Pointer 0
00000 - 3FFFF
AT1MAP1
AT1MAP1 + 1
AT1MAP1 + 2
AT1MAP1 + 3
Memory Pointer 0
00000 - 3FFFF
(1)
(2)
(2)
Figure 14-3-15    Transfer Mode D
Set the source address in 18-bit memory pointer 1 (AT1MAP1H, M, L), and set the destination address
in 18-bit memory pointer 0 (AT1MAP0H, M, L).
In transfer mode D, the values in memory pointers 0 and 1 increment by 1 each time a byte-length data
transfer ends. As a result, the source and destination addresses for the next transfer are one address
higher than those for the original transfer.
Set the data transfer count for ATC1 in the transfer data counter (AT1TRC). The counter can be set  to
a maximum of 255 transfers. The counter decrements each time ATC1 is activated. When it reaches
x'00', an interrupt (ATC1IRQ) occurs and the automatic transfer ends.