Microchip Technology TDGL019 Data Sheet

Page of 330
© 2011-2014 Microchip Technology Inc.
DS60001168F-page 111
PIC32MX1XX/2XX
REGISTER 9-7:
DCHxCON: DMA CHANNEL ‘x’ CONTROL REGISTER 
Bit 
Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
23:16
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
15:8
R/W-0
U-0
U-0
U-0
U-0
U-0
U-0
R/W-0
CHBUSY
— 
CHCHNS
(1)
7:0
R/W-0
R/W-0
R/W-0
R/W-0
U-0
R-0
R/W-0
R/W-0
CHEN
(2)
CHAED
CHCHN
CHAEN
CHEDET
CHPRI<1:0>
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 31-16 Unimplemented: Read as ‘0’
bit 15
CHBUSY: 
Channel Busy bit
1
 = Channel is active or has been enabled
0
 = Channel is inactive or has been disabled
bit 14-9
Unimplemented:
 Read as ‘0’
bit 8
CHCHNS:
 Chain Channel Selection bit
(1)
1
 = Chain to channel lower in natural priority (CH1 will be enabled by CH2 transfer complete)
0
 = Chain to channel higher in natural priority (CH1 will be enabled by CH0 transfer complete)
bit 7
CHEN: 
Channel Enable bit
(2)
1
 = Channel is enabled
0
 = Channel is disabled
bit 6
CHAED:
 Channel Allow Events If Disabled bit
1
 = Channel start/abort events will be registered, even if the channel is disabled
0
 = Channel start/abort events will be ignored if the channel is disabled
bit 
CHCHN:
 Channel Chain Enable bit
1
 = Allow channel to be chained
0
 = Do not allow channel to be chained
bit 4
CHAEN:
 Channel Automatic Enable bit
1
 = Channel is continuously enabled, and not automatically disabled after a block transfer is complete
0
 = Channel is disabled on block transfer complete
bit 3
Unimplemented:
 Read as ‘0’
bit 2
CHEDET:
 Channel Event Detected bit
1
 = An event has been detected
0
 = No events have been detected
bit 1-0
CHPRI<1:0>: 
Channel Priority bits
11
 = Channel has priority 3 (highest)
10
 = Channel has priority 2
01
 = Channel has priority 1
00
 = Channel has priority 0
Note 1:
The chain selection bit takes effect when chaining is enabled (i.e., CHCHN = 1).
2:
When the channel is suspended by clearing this bit, the user application should poll the CHBUSY bit (if 
available on the device variant) to see when the channel is suspended, as it may take some clock cycles 
to complete a current transaction before the channel is suspended.