
117
Interrupt source
Interrupt source
flag clear
(by DMAC)
Interrupt source
(those not designated as DMAC activating sources)
CPU interrupt request
DTC activation
request
DTECLR
Transfer end
DTE clear
Interrupt source
flag clear (by DTC)
DTER
DMAC
Figure 6.6 Interrupt Control Block Diagram
6.6.1
Handling DTC Activating and CPU Interrupt Sources, but Not DMAC Activating
Sources
1. Either do not select the DMAC as a source, or clear the DME bit to 0.
2. For DTC, set the corresponding DTE bits and DISEL bits to 1.
3. Activating sources are applied to the DTC when interrupts occur.
4. When the DTC performs a data transfer, it clears the DTE bit to 0 and sends an interrupt
request to the CPU. The activating source does not clear.
5. The CPU clears interrupt sources with its interrupt processing routine. It then confirms the
transfer counter value. When the transfer counter value
≠
0, it sets the DTE bit to 1 and allows
the next data transfer. If the transfer counter value = 0, it performs the necessary end
processing in the interrupt processing routine.
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...