English
Language : 

M30218 Datasheet, PDF (50/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group
nt
DMAC
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
DMAi request cause select register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
DMiSL(i=0,1)
Address
03B816,03BA16
When reset
0016
Bit symbol
DSEL0
Bit name
DMA request cause
select bit
DSEL1
DSEL2
DSEL3
Function
b3 b2 b1 b0
0 0 0 0 : Falling edge of INT0 / INT1
pin (Note)
0 0 0 1 : Software trigger
0 0 1 0 : Timer A0
0 0 1 1 : Timer A1
0 1 0 0 : Timer A2
0 1 0 1 : Timer A3
0 1 1 0 : Timer A4
0 1 1 1 : Timer B0
1 0 0 0 : Timer B1
1 0 0 1 : Timer B2
1 0 1 0 : UART0 transmit
1 0 1 1 : UART0 receive
1 1 0 0 : UART1 transmit
1 1 0 1 : UART1 receive
1 1 1 0 : A-D conversion
1 1 1 1 : Inhibited
RW
Nothing is assigned. In an attempt to write to these bits, write “0”.
The value, if read, turns out to be “0”.
DSR
Software DMA request bit
If software trigger is selected, a
DMA request is generated by
setting this bit to “1” (When read,
the value of this bit is always “0”)
Note: Address 03B816 is for INT0; address 03BA16 is for INT1.
DMAi control register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
DMiCON(i=0,1)
Address
002C16, 003C16
When reset
00000X002
Bit symbol
Bit name
Function
RW
DMBIT
DMASL
Transfer unit bit select bit
Repeat transfer mode
select bit
0 : 16 bits
1 : 8 bits
0 : Single transfer
1 : Repeat transfer
DMAS
DMA request bit (Note 1) 0 : DMA not requested
1 : DMA requested
(Note 2)
DMAE
DMA enable bit
0 : Disabled
1 : Enabled
DSD
Source address direction 0 : Fixed
select bit (Note 3)
1 : Forward
DAD
Destination address
0 : Fixed
direction select bit (Note 3) 1 : Forward
Nothing is assigned. In an attempt to write to these bits, write “0”.
The value, if read, turns out to be “0”.
Note 1: DMA request can be cleared by resetting the bit.
Note 2: This bit can only be set to “0”.
Note 3: Source address direction select bit and destination address direction select bit
cannot be set to “1” simultaneously.
Figure EC-2. DMAC-related registers (1)
49