Section 19 A/D Converter (ADC)
Rev. 5.00 May 29, 2006 page 548 of 698
REJ09B0146-0500
19.9.3
Access Size and Read Data
Table 19.5 shows the relationship between access size and read data. Note the read data obtained
with different access sizes, bus widths, and endian modes.
The case is shown here in which H'3FF is obtained when AV
CC
is input as an analog input. FF is
the data containing the upper 8 bits of the conversion result, and C0 is the data containing the
lower 2 bits.
Table 19.5
Relationship between Access Size and Read Data
Bus Width
32 Bits (D31 to D0)
16 Bits (D15 to D0)
8 Bits (D7 to D0)
Access
Size
Command Endian
Big
Little
Big
Little
Big
Little
Byte
access
MOV.L
MOV.B
MOV.L
MOV.B
#ADDRAH,R9
@R9,R8
#ADDRAL,R9
@R9,R8
FFFFFFFF
C0C0C0C0
FFFFFFFF
C0C0C0C0
FFFF
C0C0
FFFF
C0C0
FF
C0
FF
C0
Word
access
MOV.L
MOV.W
MOV.L
MOV.W
#ADDRAH,R9
@R9,R8
#ADDRAL,R9
@R9,R8
FFxxFFxx
C0xxC0xx
FFxxFFxx
C0xxC0xx
FFxx
C0xx
FFxx
C0xx
FFxx
C0xx
xxFF
xxC0
Longword
access
MOV.L
MOV.L
#ADDRAH,R9
@R9,R8
FFxxC0xx
FFxxC0xx
FFxxC0xx C0xxFFxx FFxxC0xx xxC0xxFF
Note:
#ADDRAH .EQU H'A4000080
#ADDRAL .EQU H'A4000082
Values are shown in hexadecimal for the case where read data is output to an external
device via R8.
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...