EasyManua.ls Logo

Cypress FM4 Series - Page 573

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 11: DSTC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 573
bit[3:2] ST[1:0] (Transfer status)
After the transfer specified in a DES has ended, in a DES close process, the DSTC writes the end status
value to the ST[1:0] bits. If the DSTC does not execute the DES close process, the value initially set by
the CPU remains in the ST[1:0] bits. At the start of a transfer, the value in this area has no effect on the
operation of the DSTC.
If a transfer ends abnormally due to a DES access error or a DES open error, the DSTC does not execute
a DES close process and does not write data to the ST[1:0] bits either because the DSTC cannot access
the DES area. Such error notifications are executed according to the MONERS Register of the DSTC but
not ST of the DES.
Value
Function
00
The transfer has ended normally.
01
The transfer has ended abnormally because an error occurred at a transfer source access.
10
The transfer has ended abnormally because an error occurred at a transfer destination access.
11
The transfer has ended abnormally because a transfer compulsory stopped by standby transition
command is issued from CPU.
bit[4] MODE (Transfer mode)
The MODE bit selects a transfer mode. In mode 0, the DSTC executes transfers for IIN times of data
transfers for one Start Trigger. In mode 1, the DSTC executes transfers one transfer for one Start Trigger.
To make the DSTC execute an HW Transfer at a Start Trigger from a peripheral that has to have to a
handshake with the DSTC at every data transfer, use mode 1. The DSTC does not modify the value of
this area.
Value
Function
0
The transfer is to be executed in mode 0.
1
The transfer is to be executed in mode 1.
bit[7:5] ORL[2:0] (Outer reload)
The ORL[2:0] specify whether OuterReload for the transfer number counter of DES1 (ORM/IRM/IIN), the
transfer source address of DES2 (SA) and the transfer destination address (DA) of DES3 is executed
after ORM×IIN times of transfer have ended. The DES size is determined by the value of ORL. The
respective relative addresses from the DESP of DES4 to DES6 vary according to the value of the
ORL[2:0] bits. The DSTC does not modify the value of this area.
bit
Value
Function
ORL[0]
0
OuterReload for DES1 is not to be executed. DES4 area is not required.
1
OuterReload for DES1 is to be executed. DES4 area is required.
ORL[1]
0
OuterReload for DES2 is not to be executed. DES5 area is not required.
1
OuterReload for DES2 is to be executed. DES5 area is required.
ORL[2]
0
OuterReload for DES3 is not to be executed. DES6 area is not required.
1
OuterReload for DES3 is to be executed. DES6 area is required.
bit[9:8] TW[1:0] (Transfer width)
The TW[1:0] specify the data width in a single transfer. The DSTC does not modify the value of this area.
Value
Function
00
8 bits (byte)
01
16 bits (halfword)
10
32 bits (word)
11
Setting prohibited (If the DSTC reads "11" from TW, notifies a DES open error.)

Table of Contents

Related product manuals