Panasonic F77G Cell Phone User Manual


 
Operation
Chapter 14 Automatic Transfer Controller
XIV - 25
13
In transfer mode 8, ATC1 executes a data byte transfer twice 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 source
address for the next ATC1 operation is two addresses higher than that for the previous operation.
Set the data transfer count for ATC1 in the transfer data counter (AT1TRC). You can set the counter to
a maximum of 255 transfers. The counter decrements each time ATC1 is activated (after one byte of
data has been transferred twice). When it reaches x'00', an interrupt (ATC1IRQ) occurs and the auto-
matic transfer ends.
Before execute a continuous serial transaction, store the serial transmission data in the
memory space that memory pointer 0 points, the transmission data must fill every other
address in the space. Once the serial transaction ends, the received data is stored empty
(skipped) addresses and the transmission and reception data at stored in an alternating
pattern.
Transfer mode 8 can be used to support continuous transmission/ reception for serial inter-
face 0 and 1. Set the memory pointer 1 to point to the serial reception buffer (RXBUF0,
RXBUF1) and select serial interrupts as the ATC1 trigger factor. In this way, each the serial
communication ends, the MCU continuously reads the reception data (first data byte trans-
fer), then writes the transmission data to the transmission buffer (TXBUF0, TXBUF1) (sec-
ond data byte transfer) up to 255 times, entirely through the hardware.