9
9-37
Ver.0.10
DMAC
9.3 Functional Description of the DMAC
9.3.10 End of DMA and Interrupt
In normal mode, DMA transfer is terminated when the transfer count register underflows. When
transfer finishes, the transfer enable bit is cleared to 0 and transfers are thereby disabled. Also, an
interrupt request is generated at completion of transfer. However, this interrupt is not generated for
channels where interrupt requests have been masked by the DMA Interrupt Mask Register.
During ring buffer mode, the transfer count register operates in free-run mode, and transfer
continues until the transfer enable bit is cleared to 0 (to disable transfer). In this case, therefore, the
DMA transfer-completed interrupt request is not generated. Nor is this interrupt request generated
even when transfer in ring buffer mode is terminated by clearing the transfer enable bit.
9.3.11 Status of Each Register after Completion of DMA Transfer
When DMA transfer is completed, the status of the source address and destination address
registers becomes as follows:
(1) Address fixed
• The value set in the address register before DMA transfer started remains intact (fixed).
(2) Address incremental
• For 8-bit transfer, the value of the address register is the last transfer a 1.
• For 16-bit transfer, the value of the address register is the last transfer a 2.
The transfer count register when DMA transfer completed is in an underflow state (H'FF).
Therefore, to perform another DMA transfer, set the transfer count register newly again, except
when you are performing transfers 256 times (H'FF).
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...