Datasheet

Table Of Contents
11. DMAC
page 86
923fo7002,51.beF00.2.veR
0020-2020B90JER
)T62/C61M,B62/C61M,A62/C61M(puorGA62/C61M
Figure 11.4 SAR0 and SAR1, DAR0 and DAR1, TCR0 and TCR1 Registers
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 in the DMiCON register is set to 1
(DMA enabled) or the DMAi transfer counter
underflows when the DMASL bit in the 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 Address After reset
TCR0 0029
16
, 0028
16
Indeterminate
TCR1 0039
16
, 0038
16
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 Address After reset
SAR0 0022
16
to 0020
16
Indeterminate
SAR1 0032
16
to 0030
16
Indeterminate
DMAi source pointer (i = 0, 1)
(1)
Setting range
00000
16
to FFFFF
16
Nothing is assigned. When write, set 0. When read, these contents
are 0.
Symbol Address After reset
DAR0 0026
16
to 0024
16
Indeterminate
DAR1 0036
16
to 0034
16
Indeterminate
b3 b0 b7 b0 b7 b0
(b8)(b15)(b16)(b19)
Function
Set the destination address of transfer
DMAi destination pointer (i = 0, 1)
(1)
Setting range
00000
16
to FFFFF
16
b7
(b23)
RW
RW
RW
RW
RW
Nothing is assigned. When write, set 0. When read, these contents
are 0.
NOTE:
1. If the DSD bit in the DMiCON register is 0 (fixed), this register can only be written to when the DMAE bit in the
DMiCON register is 0 (DMA disabled). If the DSD bit is set to 1 (forward direction), this register can be written to
at any time. If the DSD bit is set to 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.
NOTE:
1. If the DAD bit in the DMiCON register is 0 (fixed), this register can only be written to when the DMAE bit in the
DMiCON register is 0(DMA disabled). If the DAD bit is set to 1 (forward direction), this register can be written to at
any time. If the DAD bit is set to 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.