Panasonic F77G Cell Phone User Manual


 
Operation
Chapter 14 Automatic Transfer Controller
XIV - 19
13
14-3-10 Transfer Mode 5
In transfer mode 5, ATC1 automatically transfers two bytes (one word) of data from the I/O space (special
registers : x'03F00' - x'03FFF') to any memory space every time an ATC1 activation request occurs.
Always set an even address as the source I/O address in memory pointer 1. When ATC1
transfers one word from the I/O space, ATC1 can transfer the even address set in memory
pointer 1 and the odd address that immediately follows it.
(1)
(2)
(3)
(2)
(4)
AT1MAP0
AT1MAP0 + 1
AT1MAP0 + 2
AT1MAP0 + 3
AT1MAP1(odd)
Memory Pointer 0
00000 - 3FFFF 03F00 - 03FFF
Memory Pointer 1
(Only lower
8 bits are valid)
AT1MAP1(even)
In transfer mode 5, ATC1 executes a data byte transfer twice, to send one data word, each time it is
activated. The value in memory pointer 0 increments by one each time a byte-length data transfer ends.
As a result, the destination address for the next ATC1 operation is two addresses higher than that for the
previous operation.
In this word-length transfer, ATC1 transfers the first data byte from an even address in the I/O space and
the second data byte from an odd address in the I/O space.
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 (after each word
transfer). When it reaches x'00', an interrupt (ATC1IRQ) occurs and the automatic transfer ends.
Set the source I/O address in lower 8 bits of memory pointer 1 (AT1MAP1L), and set the destination
address in 18-bit memory pointer 0 (AT1MAP0H, M, L). The upper 10 bits of the I/O space address
(x'03F') need not to be set in AT1MAP1H and AT1MAP1M.
Figure 14-3-7 Transfer Mode 5