EasyManua.ls Logo

Cypress FM4 Series - CMD Register

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
560 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
5.4 CMD Register
The CMD (Command) Register issues a command to the DSTC and reads the state of the DSTC.
Register configuration
Address: +0x08
bit
7
6
5
4
3
2
1
0
Field
CMD[7:0]
Attribute
W
W
W
W
W
W
R
R
Initial value
0
0
0
0
0
0
0
1
Register function
A command can be issued to the DSTC by writing a value to the CMD (Command) Register. Use an 8-bit
(byte) access to write a value to this register. The 16-bit write access and 32-bit write access to this
register are ignored. In addition, the state (normal state, standby state, transition state 1 and transition
state 2) of the DSTC can be checked by reading this register.
In each state of the DSTC, some commands can be issued and some cannot. For details, see Table 3-13.
bit[7:0] CMD[7:0]
Write value
Command
Process details
0x04
Standby release
command
Instructs the DSTC to return from the standby state to the normal state.
0x08
Standby transition
command
Instructs the DSTC to transit from the normal state to the standby
state.
Clears SWTR:SWST to "0".
Negates the SWINT interrupt signal.
Clears all HWINT[n] Registers.
Negates the HWINT[n] interrupt signal.
Negates the ERINT interrupt signal.
Set all DQMSK[n] Registers to "1".
0x10
SWCLR command
Clears SWTR:SWST to "0".
Negates the SWINT interrupt signal.
0x20
ERCLR command
Clears MONERS:EST to "0".
Negates the ERINT interrupt signal.
Clears MONERS:DER to "0".
Clears MONERS:ESTOP to "0".
0x80
MKCLR command
Clears all DQMSK[n] Registers to "0".
(This command is ignored in the transition state 2.)
Value other than
those listed
above
Writing a value other than those listed above to CMD[7:0] is prohibited. (If a value other than
those listed above is written to CMD[7:0] via a write access such as an RMW access, such write
access may be ignored.)
Read value
State of DSTC
0x00
Indicates that the DSTC is in the normal state.
0x01
Indicates that the DSTC is in the standby state. (Initial value)
0x02
Indicates that the DSTC is in the transition state 1 (transiting from the standby state to the
normal state).
0x03
Indicates that the DSTC is in the transition state 2 (transiting from the normal state to the
standby state).
Value other than
those listed above
The CMD Register never reads any value other than the above.

Table of Contents

Related product manuals