TC1784
Direct Memory Access Controller (DMA)
User´s Manual
11-36
V1.1, 2011-05
DMA, V3.03
11.2.12.4 Wrap Buffer Interrupts
Each DMA channel mn is able to generate a wrap buffer interrupt for source buffer or
destination buffer overflow. Further details on the pattern detection are described in
A wrap source buffer interrupt of DMA channel mn is indicated by status flag
WRPSR.WRPSmn. A wrap destination buffer interrupt of DMA channel mn is indicated
by the status flag WRPSR.WRPDmn. Both interrupt status flags can be reset by software
when bit INTCR.CWRPmn (or CHRSTR.CHmn becomes set). The wrap source buffer
interrupt is enabled when bit CHICRmn.WRPSE is set. The wrap destination buffer
interrupt is enabled when bit CHICRmn.WRPDE is set. The two interrupts for wrap
source buffer and wrap destination buffer are OR-ed together to one common wrap
buffer interrupt of DMA channel mn that can be directed to one of the interrupt outputs
SR[15:0]
1)
by setting the wrap buffer interrupt pointer CHICRmn.WRPP with a
corresponding value. Note that the pattern match should not be enabled while a wrap
interrupt is enabled for the same channel.
Figure 11-20 DMA Wrap Buffer Interrupts
(m = 0-1)
1) In the TC1784 SR[7:0] are connected to interrupt nodes. SR[15:8] are used as DMA channel trigger signals.
≥
1
MCA06168
WRPSmn
Wrap Source
Buffer Interrupt
mn
WRPSE
WRPP
CHICRmn
CHICRmn
INTCR
Reset
CWRPmn
WRPSR
WRPDmn
WRPDE
CHICRmn
Reset
WRPSR
Wrap Destination
Buffer Interrupt
mn
n = 0-7
Set
Set
CHRSTR
CHmn
4
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...