DMAC
101
Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
b7
b0
b7
b0
(b8)
(b15)
Function
Set the transfer count minus 1. The written value
is stored in the DMAi transfer counter reload
register, and when the DMAE bit of DMiCON
register is set to “1” (DMA enabled) or the DMAi
transfer counter underflows when the DMASL bit
of DMiCON register is “1” (repeat transfer), the
value of the DMAi transfer counter reload register
is transferred to the DMAi transfer counter.
When read, the DMAi transfer counter is read.
Symbol
TCR0
TCR1
Address
0029
16
, 0028
16
0039
16
, 0038
16
After reset
Indeterminate
Indeterminate
DMAi transfer counter (i = 0, 1)
Setting range
0000
16
to FFFF
16
b7
(b23)
b3
b0
b7
b0
b7
b0
(b8)
(b16)(b15)
(b19)
Function
RW
Set the source address of transfer
Symbol
SAR0
SAR1
Address
After reset
Indeterminate
Indeterminate
0022
16
to 0020
16
0032
16
to 0030
16
DMAi source pointer (i = 0, 1) (Note)
Setting range
00000
16
to FFFFF
16
Nothing is assigned. When write, set “0”. When read, these contents
are “0”.
Symbol
DAR0
DAR1
Address
0026
16
to 0024
16
0036
16
to 0034
16
After reset
Indeterminate
Indeterminate
b3
b0
b7
b0
b7
b0
(b8)
(b15)
(b16)
(b19)
Function
Set the destination address of transfer
DMAi destination pointer (i = 0, 1)(Note)
Setting range
00000
16
to FFFFF
16
b7
(b23)
RW
RW
RW
RW
RW
Note: If the DSD bit of DMiCON register is “0” (fixed), this register can only be written to when the DMAE bit of
DMiCON register is “0” (DMA disabled).
If the DSD bit is “1” (forward direction), this register can be written to at any time.
If the DSD bit is “1” and the DMAE bit is “1” (DMA enabled), the DMAi forward address pointer can be read from
this register. Otherwise, the value written to it can be read.
Nothing is assigned. When write, set “0”. When read, these contents
are “0”.
Note: If the DAD bit of DMiCON register is “0” (fixed), this register can only be written to when the DMAE bit of
DMiCON register is “0”(DMA disabled).
If the DAD bit is “1” (forward direction), this register can be written to at any time.
If the DAD bit is “1” and the DMAE bit is “1” (DMA enabled), the DMAi forward address pointer can be read from
this register. Otherwise, the value written to it can be read.
Figure 1.13.4. SAR0, SAR1, DAR0, DAR1, TCR0, and TCR1 Registers