R01UH0136EJ0210 Rev.2.10
Page 239 of 800
Jul 31, 2012
M16C/64A Group
16. DMAC
16.2.4
DMAi Control Register (DMiCON) (i = 0 to 3)
DMAS (DMA request bit) (b2)
Conditions to become 0:
•
Set the bit to 0.
•
Start data transfer
Condition to become 1:
•
Set the bit to 1.
DMAE (DMA enable bit) (b3)
Conditions to become 0:
•
Set the bit to 0.
•
The DMA transfer counter underflows (single transfer mode).
Condition to become 1:
•
Set the bit to 1.
DSD (Source address direction select bit) (b4)
DAD (Destination address direction select bit) (b5)
Set the DAD bit and/or DSD bit to 0 (address direction fixed).
DMAi Control Register (i = 0 to 3)
Symbol
DM0CON
DM1CON
DM2CON
DM3CON
Address
Bit Symbol
RW
DMBIT
Reset Value
DMASL
DMAS
DMAE
DSD
RW
RW
RW
RW
DAD
RW
—
(b7-b6)
—
RW
b7 b6 b5 b4
b1
b2
b3
b0
Bit Name
No register bits. If necessary, set to 0. The read value is 0
DMA request bit
DMA enable bit
Function
0 : DMA not requested
1 : DMA requested
0 : DMA disabled
1 : DMA enabled
018Ch
019Ch
01ACh
01BCh
0000 0X00b
0000 0X00b
0000 0X00b
0000 0X00b
Repeat transfer mode select
bit
0 : Single transfer
1 : Repeat transfer
Transfer unit bit select bit
0 : 16 bits
1 : 8 bits
Source address direction
select bit
0 : Fixed
1 : Forward
Destination address direction
select bit
0 : Fixed
1 : Forward
Summary of Contents for M16C/60 Series
Page 853: ...M16C 64A Group R01UH0136EJ0210...