Motorola MC68340 User Manual page 214

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

Result Data:
The contents of the selected register are returned as a long-word value. The data is
returned most significant word first.
5.6.2.8.5 Write A/D Register (WAREG/WDREG). The operand (long-word) data is written
to the specified address or data register. All 32 bits of the register are altered by the write.
Command Format:
15
14
13
12
0
0
1
0
Command Sequence:
WDREG/WAREG
Operand Data:
Long-word data is written into the specified address or data register. The data is
supplied most significant word first.
Result Data:
Command complete status ($0FFFF) is returned when register write is complete.
5.6.2.8.6 Read System Register (RSREG). The specified system control register is read.
All registers that can be read in supervisor mode can be read in BDM. Several internal
temporary registers are also accessible.
Command Format:
15
14
13
12
0
0
1
0
Command Sequence:
Operand Data:
None
MOTOROLA
Freescale Semiconductor, Inc.
11
10
9
8
0
0
0
0
MS DATA
???
"NOT READY"
XXX
"ILLEGAL"
11
10
9
8
0
1
0
0
RSREG
???
MS RESULT
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
7
6
5
1
0
0
LS DATA
"NOT READY"
"CMD COMPLETE"
NEXT CMD
"NOT READY"
7
6
5
1
0
0
XXX
NEXT CMD
LS RESULT
XXX
NEXT CMD
"ILLEGAL"
"NOT READY"
4
3
2
0
A/D
REGISTER
NEXT CMD
4
3
0
REGISTER
0
0
5- 77

Advertisement

Table of Contents
loading

Table of Contents