Section 7 DMA Controller (DMAC)
Rev. 3.00 Mar. 14, 2006 Page 202 of 804
REJ09B0104-0300
TSIE bit
DMAC is activated in
transfer size error state
RPTIE bit
DMAC is activated
after BKSZ bits are
changed from 1 to 0
SARIE bit
Extended repeat area
overflow occurs in
source address
DARIE bit
Extended repeat area
overflow occurs in
destination address
DTIE bit
DTIF bit
Transfer end
interrupt
[Setting condition]
When DTCR becomes 0
and transfer ends
Setting condition is satisfied
ESIE bit
ESIF bit
Transfer escape
end interrupt
Figure 7.38 Interrupt and Interrupt Sources
Transfer end interrupt
handling routine
Consecutive transfer
processing
Registers are specified
DTE bit is set to 1
Interrupt handling routine
ends (RTE instruction
executed)
Transfer resume
processing end
Transfer resumed after
interrupt handling routine
DTIF and ESIF bits are
cleared to 0
Interrupt handling routine
ends
DTE bit is set to 1
Registers are specified
Transfer resume
processing end
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[1] Specify the values in the registers such as transfer counter and address register.
[2] Set the DTE bit in DMDR to 1 to resume DMA operation. Setting the DTE bit to 1 automatically clears the DTIF or
ESIF bit in DMDR to 0 and an interrupt source is cleared.
[3] End the interrupt handling routine by the RTE instruction.
[4] Read that the DTIF or the ESIF bit in DMDR = 1 and then write 0 to the bit.
[5] Complete the interrupt handling routine and clear the interrupt mask.
[6] Specify the values in the registers such as transfer counter and address register.
[7] Set the DTE bit to 1 to resume DMA operation.
Figure 7.39 Procedure Example of Resuming Transfer by Clearing Interrupt Source
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...