Download Print this page

Dtc Transfer End Interrupt - Renesas H8S Family Hardware Manual

Advertisement

22.8.4

DTC Transfer End Interrupt

When the DTC transfer end interrupt is generated, handle the processing below.
(1)
Endpoint 1
• Clear the EP1DMAE bit in DMA to 0.
• Write H'BF to the IFR0 register.
Write 0 to the EP1FULL bit. The bit manipulation instruction should not be used for this
setting.
When the DTC transfer is continuously performed:
• Set CRA and CRB of the DTC the number of transfers.
• Set the DTCERF register.
• Set 1 to the EP1DMAE bit in DMA.
(2)
Endpoint 2
• Clear the EP2DMAE bit in DMA to 0.
• Write H'EF to the IFR0 register.
Write 0 to the EP2EMPTY bit. The bit manipulation instruction should not be used for this
setting.
When the DTC transfer is continuously performed:
• Set CRA and CRB of the DTC the number of transfers.
• Set the DTCERF register.
• Set 1 to the EP2DMAE bit in DMA.
Section 22 USB Function Module (USB)
Rev. 1.00 Mar. 12, 2008 Page 889 of 1178
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472