ML51/ML54/ML56
Sep. 01, 2020
Page
600
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
DMAnCR
– PDMAn Control Register
Register
SFR Address
Reset Value
DMA0CR0
92H, Page 0
0000_0000 b
DMA1CR0
EBH, Page 0
0000_0000 b
DMA2CR0
B3H, Page 2
0000_0000 b
DMA3CR0
ABH, Page 2
0000_0000 b
7
6
5
4
3
2
1
0
PSSEL[3:0]
HIE
FIE
RUN
EN
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
[7:4]
PSSEL[3:0]
Peripheral Source Select
0000 = XRAM to XRAM
0001 = SPI0 RX
0010 = SMC0/UART2 RX.
0011 = SPI1 RX
0100 = Reserved, No peripheral source select
0101 = SPI0 TX
0110 = SMC0/UART2 TX.
0111 = SPI1 TX
1010 = SMC1/UART3 RX.
1110 = SMC1/UART3 TX.
The others are reserved, no peripheral source selected
Note:
0001~0011,1010 : peripheral devices to XRAM memory
0101~0111,1110 : XRAM memory to peripheral devices
[3]
HIE
PDMA HALFTransfer Done Interrupt Enable Bit
0 = Interrupt Disabled when PDMA half transfer is done.
1 = Interrupt Enabled when PDMA half transfer is done.
[2]
FIE
PDMA Full Transfer Done Interrupt Enable Bit
0 = Interrupt Disabled when PDMA full transfer is done.
1 = Interrupt Enabled when PDMA full transfer is done.
[1]
RUN
Trigger Enable Bit
0 = No effect.
1 = PDMA data transfer Enabled.
Note 1:
When PDMA transfer completed, this bit will be cleared automatically.
[0]
EN
PDMA Enable Bit
Setting this bit to 1 enables PDMA operation. If this bit is cleared, PDMA will ignore all
PDMA request and Reset the internal state machine, pointers and internal buffer. The
contents of all Register Description will not be cleared.