Datasheet

M16C/6S Group DMAC
R01DS0201EJ0502 Rev.5.02 page 70 of 203
Dec 25, 2012
DMA0 request cause select register
Symbol Address After reset
DM0SL 03B8
16 0016
Function
Bit symbol
b7 b6 b5 b4 b3 b2 b1 b0
DMA request cause
select bit
DSEL0
RW
DSEL1
DSEL2
DSEL3
Nothing is assigned. When write, set to “0”.
When read, its content is “0”.
Software DMA
request bit
A DMA request is generated by
setting this bit to “1” when the DMS
bit is “0” (basic cause) and the
DSEL3 to DSEL0 bits are “0001
2
(software trigger).
The value of this bit when read is “0” .
DSR
DSEL3 to DSEL0 DMS=0(basic cause of request) DMS=1(extended cause of request)
0 0 0 02 Falling edge of INT0 pin
0 0 0 12 Software trigger
0 0 1 02 Timer A0
0 0 1 12 Timer A1
0 1 0 02 Timer A2
0 1 0 12 Timer A3
0 1 1 02 Timer A4 Two edges of INT0 pin
0 1 1 12
1 0 0 02
1 0 0 12
1 0 1 02 UART0 transmit
1 0 1 12 UART0 receive
1 1 0 02 UART2 transmit
1 1 0 12 UART2 receive
1 1 1 02
1 1 1 12 UART1 transmit
Bit name
DMA request cause
expansion select bit
DMS
0: Basic cause of request
1: Extended cause of request
RW
RW
RW
RW
RW
RW
(b5-b4)
Refer to note
Note: The causes of DMA0 requests can be selected by a combination of DMS bit and DSEL3 to DSEL0 bits in the
manner described below.
Figure 1.11.2. DM0SL Register