Panasonic MN101C77C, F77G user manual Transfer Mode E

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 470
Image 470

Chapter 14 Automatic Transfer Controller

14-3-19 Transfer Mode E

Transfer mode E is a burst mode. In this mode, when ATC1 is activated, it automatically transfers the number of data bytes set in the transfer data counter (AT1TRC) in one continuous operation.

Memory Pointer 0

 

00000 - 3FFFF

 

 

 

(1)

 

 

(2)

AT1MAP0

 

(3)

 

(4)

AT1MAP0 + 1

 

(5)

 

AT1MAP0 + 2

 

(6)

 

·

 

AT1MAP0 + 3

 

·

 

 

·

 

 

 

 

·

 

 

·

 

 

 

 

 

Memory Pointer 1 00000 - 3FFFF

 

 

AT1MAP1

(2)

AT1MAP1 + 1

(4)

 

AT1MAP1 + 2

(6)

 

A1TMAP1 + 3

 

 

 

 

 

 

 

Figure 14-3-16 Transfer Mode E

Set the source address in 18-bit memory pointer 0 (AT1MAP0H, M, L), and set the destination address in 18-bit memory pointer 1 (AT1MAP1H, M, L). Once ATC1 is activated, memory pointers 0 and 1 increment by one each a byte-length data transfer ends.

For burst transfers, set the number of data bytes to be transferred in the transfer data counter (AT1TRC). The counter can be set to a maximum of 255 bytes. Once the burst transfer starts, the counter decrements each time ATC1 transfers one byte of data. When it reaches x'00', an interrupt (ATC1IRQ) occurs and the burst transfer ends.

It is possible to shut down ATC1 during burst transfers using external interrupt 0. You can enable or disable ATC1 shutdown with the burst transfer stop enable flag (BSTP) of ATC1 control register 1 (AT1CNT1). When BTSTP=1 and the interrupt request flag for external interrupt 0 (the IRQ0IR flag in the IRQ0ICR register) is set, the ATC1 data transfer shuts down immediately. During this shutdown, the transfer counter and the memory pointers save the values they contained prior to the shutdown. When the interrupt service routine ends and a new ATC1 trigger factor occurs, the burst transfer restarts from the point at which it stopped.

XIV - 32 Operation

Page 470
Image 470
Panasonic MN101C77C, F77G user manual Transfer Mode E