TC1796
System Units (Vol. 1 of 2)
Direct Memory Access Controller
User’s Manual
12-66
V2.0, 2007-07
DMA, V2.0
The Wrap Status Register gives information about the channels that did a wrap-around
on their source or destination buffer(s). This condition can also lead to an interrupt if it is
enabled.
DMA_WRPSR
DMA Wrap Status Register
(05C
H
)
Reset Value: 0000 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
WRP
D17
WRP
D16
WRP
D15
WRP
D14
WRP
D13
WRP
D12
WRP
D11
WRP
D10
WRP
D07
WRP
D06
WRP
D05
WRP
D04
WRP
D03
WRP
D02
WRP
D01
WRP
D00
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WRP
S17
WRP
S16
WRP
S15
WRP
S14
WRP
S13
WRP
S12
WRP
S11
WRP
S10
WRP
S07
WRP
S06
WRP
S05
WRP
S04
WRP
S03
WRP
S02
WRP
S01
WRP
S00
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
Field
Bits
Type Description
WRPS0x
(x = 0-7)
x
rh
Wrap Source Buffer for Channel 0x
These bits indicate which channels have done a
wrap-around of their source buffer(s).
0
B
No wrap-around occurred for channel 0x.
1
B
A wrap-around occurred for channel 0x.
This bit is cleared by software by writing a 1 to
INTCR.CWRP0x or CHRSTR.CH0x.
WRPS1x
(x = 0-7)
8+x
rh
Wrap Source Buffer for Channel 1x
These bits indicate which channels have done a
wrap-around of their source buffer(s).
0
B
No wrap-around occurred for channel 1x.
1
B
A wrap-around occurred for channel 1x.
This bit is cleared by software by writing a 1 to
INTCR.CWRP1x or CHRSTR.CH1x.
WRPD0x
(x = 0-7)
16+x
rh
Wrap Destination Buffer for Channel 0x
These bits indicate which channels have done a
wrap-around of their destination buffer(s).
0
B
No wrap-around occurred for channel 0x.
1
B
A wrap-around occurred for channel 0x.
This bit is cleared by software by writing a 1 to
INTCR.CWRP0x or CHRSTR.CH0x.