Read A/D Register (Rareg/Rdreg) - Motorola CPU32 Reference Manual

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

7.2.8.4 Read A/D Register (RAREG/RDREG)

Read the selected address or data register and return the results via the serial inter-
face.
Command Format:
15
14
13
0
0
1
Command Sequence:
Operand Data:
None
Result Data:
The contents of the selected register are returned as a long-word value. The data
is returned most significant word first.
7.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
0
0
1
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.
CPU32
REFERENCE MANUAL
12
11
10
9
0
0
0
0
RDREG/RAREG
???
12
11
10
9
0
0
0
0
MS DATA
???
"NOT READY"
XXX
"ILLEGAL"
DEVELOPMENT SUPPORT
8
7
6
5
1
1
0
0
XXX
NEXT CMD
MS RESULT
LS RESULT
XXX
NEXT CMD
"ILLEGAL"
"NOT READY"
8
7
6
5
0
1
0
0
LS DATA
"CMD COMPLETE"
"NOT READY"
NEXT CMD
"NOT READY"
4
3
2
0
A/D
REGISTER
4
3
2
0
A/D
REGISTER
NEXT CMD
MOTOROLA
0
0
7-15

Advertisement

Table of Contents
loading

Table of Contents