Download Print this page

Hitachi H8S/2633 Hardware Manual page 766

Advertisement

19.2
Register Descriptions
19.2.1
A/D Data Registers A to D (ADDRA to ADDRD)
Bit
:
15
AD9
Initial value
:
0
R/W
:
R
There are four 16-bit read-only ADDR registers, ADDRA to ADDRD, used to store the results of
A/D conversion.
The 10-bit data resulting from A/D conversion is transferred to the ADDR register for the selected
channel and stored there. The upper 8 bits of the converted data are transferred to the upper byte
(bits 15 to 8) of ADDR, and the lower 2 bits are transferred to the lower byte (bits 7 and 6) and
stored. Bits 5 to 0 are always read as 0.
The correspondence between the analog input channels and ADDR registers is shown in
table 19-3.
ADDR can always be read by the CPU. The upper byte can be read directly, but for the lower
byte, data transfer is performed via a temporary register (TEMP). For details, see section 19.3,
Interface to Bus Master.
The ADDR registers are initialized to H'0000 by a reset, and in standby mode or module stop
mode.
Table 19-3 Analog Input Channels and Corresponding ADDR Registers
Channel Set 0 (CH3 = 0)
Group 0
Group 1
AN0
AN4
AN1
AN5
AN2
AN6
AN3
AN7
14
13
12
11
AD8
AD7
AD6
AD5
0
0
0
0
R
R
R
R
Analog Input Channel
Channel Set 1 (CH3 = 1)
Group 0
AN8
AN9
AN10
AN11
10
9
8
7
AD4
AD3
AD2
AD1
0
0
0
0
R
R
R
R
Group 1
AN12
AN13
AN14
AN15
6
5
4
3
AD0
0
0
0
0
R
R
R
R
A/D Data Register
ADDRA
ADDRB
ADDRC
ADDRD
2
1
0
0
0
0
R
R
R
749

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631