English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (748/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 18 DMA CONTROLLER
Figure 18-10. Example of Setting of Consecutively Capturing A/D Conversion Results
Start
DEN1 = 1
DSA1 = 1EH
DRA1 = FCE0H
DBC1 = 0100H
DMC1 = 2CH
DST1 = 1
Starting A/D conversion
INTAD occurs.
User program
processing
DMA1 transfer
INTDMA1 occurs.
DST1 = 0Note
DEN1 = 0
RETI
End
Hardware operation
Note The DST1 flag is automatically cleared to 0 when a DMA transfer is completed.
Writing the DEN1 flag is enabled only when DST1 = 0. To terminate a DMA transfer without waiting for
occurrence of the interrupt of DMA1 (INTDMA1), set DST1 to 0 and then DEN1 to 0 (for details, refer to 18.5.7
Forced termination by software).
R01UH0004EJ0501 Rev.5.01
732
Jun 20, 2011