Dtc Transfer Count Register A (Cra) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
16.2.6

DTC Transfer Count Register A (CRA)

 Normal transfer mode
Address(es): (inaccessible directly from the CPU)
b15
b14
Value after reset:
x
x
x: Undefined
 Repeat transfer mode/block transfer mode
Address(es): (inaccessible directly from the CPU)
b15
b14
Value after reset:
x
x
x: Undefined
Symbol
Register Name
CRAL
Transfer Counter A Lower Register
CRAH
Transfer Counter A Upper Register
Note:
The function depends on transfer mode.
Note:
Set CRAH and CRAL to the same value in repeat transfer mode and block transfer mode.
This register is for counting the number of transfers and cannot be accessed directly from the CPU.
(1) Normal transfer mode (MRA.MD[1:0] bits = 00b)
CRA register functions as a 16-bit transfer counter in normal transfer mode.
The transfer count is 1, 65535, and 65536 when the set value is 0001h, FFFFh, and 0000h, respectively.
The CRA value is decremented (–1) at each data transfer.
(2) Repeat transfer mode (MRA.MD[1:0] bits = 01b)
The CRAH register retains the transfer count and the CRAL register functions as an 8-bit transfer counter.
The transfer count is 1, 255, and 256 when the set value is 01h, FFh, and 00h, respectively.
The CRAL value is decremented (–1) at each data transfer. When it reaches 00h, the CRAH value is reloaded to the
CRAL register.
(3) Block transfer mode (MRA.MD[1:0] bits = 10b)
The CRAH register retains the block size and the CRAL register functions as an 8-bit block size counter.
The transfer count is 1, 255, and 256 when the set value is 01h, FFh, and 00h, respectively.
The CRAL value is decremented (–1) at each data transfer. When it reaches 00h, the CRAH value is reloaded to the
CRAL register.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b13
b12
b11
b10
x
x
x
x
CRAH
b13
b12
b11
b10
x
x
x
x
CRA
b9
b8
b7
b6
x
x
x
x
b9
b8
b7
b6
x
x
x
x
Description
Set transfer count. This register functions as a transfer counter
during data transfer.
Set transfer count. This register functions as a reload register
during data transfer.
16. Data Transfer Controller (DTCb)
b5
b4
b3
b2
x
x
x
x
CRAL
b5
b4
b3
b2
x
x
x
x
Page 253 of 1041
b1
b0
x
x
b1
b0
x
x
R/W

Advertisement

Table of Contents
loading

Table of Contents