Table 5-27. Tcnt Register; Table 5-28. Tcnt Fields; Terminal Count Register (Tcnt) - Sharp LH79524 User Manual

Table of Contents

Advertisement

Direct Memory Access Controller

5.2.2.7 Terminal Count Register (TCNT)

The Terminal Count Register is a 16-bit Read Only register that contains the number of
data units remaining in the current DMA transfer. The data unit is equal to the source-to-
DMA data width (byte, half-word or word).
The register value is decremented every time data transfers to the DMA FIFO. When the
terminal count reaches zero, the FIFO content transfers to the destination and a DMA
transfer is finished.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR
BITS NAME
31:16
15:0
5-14
31
30
29
28
27
0
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
0
0
0
0
0
RW
RW
RW
RW
RW
///
Reserved Reading returns 0. Write the reset value.
Terminal Count This field contains the number of data units remaining in
TERM
the current DMA transfer. The data unit is the source-to-DMA data width (byte,
half-word or word).

Table 5-27. TCNT Register

26
25
24
23
///
0
0
0
0
RO
RO
RO
RO
10
9
8
7
TERM
0
0
0
0
RW
RW
RW
RW
DATASTREAM x BASE + 0x028

Table 5-28. TCNT Fields

DESCRIPTION
Version 1.0
LH79524/LH79525 User's Guide
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
0
0
0
0
0
RW
RW
RW
RW
RW
17
16
0
0
RO
RO
1
0
0
0
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents