Typewriter User Manual

MOTOROLA MC68340 USER’S MANUAL 5- 77
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:
15141312111098765432 0
001000001000A/D REGISTER
Command Sequence:
WDREG/WAREG
???
MS DATA
XXX
"ILLEGAL"
LS DATA
"NOT READY"
NEXT CMD
"NOT READY"
"CMD COMPLETE"
NEXT CMD
"NOT READY"
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:
1514131211109876543 0
001001001000 REGISTER
Command Sequence:
RSREG
???
XXX
MS RESULT
XXX
"ILLEGAL"
NEXT CMD
LS RESULT
NEXT CMD
"NOT READY"
Operand Data:
None
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...