Section 9 Direct Memory Access Controller (DMAC)
Rev. 5.00 May 29, 2006 page 291 of 698
REJ09B0146-0500
Individual Channel Ending Conditions: There are two ending conditions. A transfer ends when
the value of the channel's DMATCR is 0, or when the DE bit of the channel's CHCR is cleared to
0.
•
When DMATCR is 0: When the DMATCR value becomes 0 and the corresponding channel's
DMA transfer ends, the transfer end flag bit (TE) is set in the CHCR. If the IE (interrupt
enable) bit has been set, a DMAC interrupt (DEI) is requested to the CPU. This transfer ending
does not apply to conditions in (a) to (d) described above.
•
When DE of CHCR is 0: Software can halt a DMA transfer by clearing the DE bit in the
channel's CHCR. The TE bit is not set when this happens. This transfer ending does not apply
to conditions in (a) to (d) described above.
Conditions for Ending All Channels Simultaneously: Transfers on all channels end when the
NMIF or AE bit in the DMAOR is set to 1, or when the DME bit in the DMAOR is cleared to 0.
•
Transfers ending when the AE bit or NMIF bit is set to 1 in DMAOR: When an NMI interrupt
occurs, the AE bit or NMIF bit is set to 1 in the DMAOR and all channels stop their transfers
according to the conditions in (a) to (d) described above, and pass the bus right to other bus
masters. Consequently, even if the AE bit or NMI bit is set to 1 during transfer, the SAR,
DAR, DMATCR are updated. The TE bit is not set. To resume the transfers after DMAC
address error exception handling or NMI interrupt exception handling, clear the AE or NMIF
bit to 0. At this time, if there are channels that should not be restarted, clear the corresponding
DE bit in the CHCR.
•
Transfers ending when DME is cleared to 0 in DMAOR: Clearing the DME bit to 0 in the
DMAOR forcibly stops the transfers on all channels. The TE bit is not set. All channels stop
their transfers according to the conditions in (a) to (d) in 9.4.7, DMA Transfer Ending
Conditions, as in DMAC address error occurrence or NMI interrupt generation. In this case,
the values in SAR, DAR, and DMATCR are also updated.
Summary of Contents for SH7706 Series
Page 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Page 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Page 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Page 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Page 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Page 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Page 749: ...SH7706 Group Hardware Manual ...