English
Language : 

M16C80 Datasheet, PDF (102/358 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/80 SERIES
M16C/80 Group
11. DMAC
4. Set the following SFR registers:
•DMAiSFR address register
•DMAI memory address reload register
•DMAi memory address register
•DMAi transfer count reload register
•DMAi transfer count register
5. At this point, if the number of elapsed cycles are less than 26, add code (NOP's or other
processing) to make up some time.
6. Enable the corresponding channel i DMA in the DMA mode registers 0 and 1.
7. Enable the peripheral used as the source of the DMA transfer. For example, when
using UART0 transmit, enable UART0 transmit.
•When not writing to the DMAi request cause register;
1. Disable the corresponding channel i DMA in the DMA mode registers 0 and 1.
2. Set up the peripheral used as the source of the DMA transfer. However, the peripheral
should remain disabled at this time. For example, when using UART0 transmit, disable
UART0 transmit.
3. Set up the following SFR registers:
•DMAiSFR address register
•DMAI memory address reload register
•DMAi memory address register
•DMAi transfer count reload register
•DMAi transfer count register
4. Enable the corresponding channel i DMA in the DMA mode registers 0 and 1.
5. Enable the peripheral used as the source of the DMA transfer. For example, when using
UART0 transmit, enable UART0 transmit.
(5) Recommended procedure after completing DMA transfer
•Disable the peripheral used as source of the DMA transfer to prevent generating a DMA
request.
•Disable the corresponding channel i DMA in the DMA mode registers 0 and 1.
Rev.1.00 Aug. 02, 2005 Page 91 of 329
REJ09B0187-0100