Configuration Of A/D Registers; Register Descriptions; A/D Data Registers A-D (Addra-Addrd) - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

14.1.4

Configuration of A/D Registers

The A/D converter includes the registers listed in table 14.2.
Table 14.2 A/D Registers
Register Name
A/D data register A (high)
A/D data register A (low)
A/D data register B (high)
A/D data register B (low)
A/D data register C (high) ADDRCH
A/D data register C (low)
A/D data register D (high) ADDRDH
A/D data register D (low)
A/D control/status
register
A/D control register
Notes: *1 Only the values of bits A27–A24 and A8–A0 are valid; bits A23–A9 are ignored. For
details on the register addresses, see section 8.3.5, Area Descriptions.
*2 Only 0 can be written in bit 7, to clear the flag.
14.2

Register Descriptions

14.2.1
A/D Data Registers A–D (ADDRA–ADDRD)
The four A/D data registers (ADDRA–ADDRD) are 16-bit read-only registers that store the
results of the A/D conversion. Each result consists of 10 bits. The first 8 bits are stored in the
upper byte of the data register corresponding to the selected channel. The last two bits are stored in
the lower byte of the data register. Bits 5–0 of the lower byte are reserved and are always read as
0. Each data register is assigned to two analog input channels (table 14.3).
The A/D data registers are always readable by the CPU. The upper byte can be read directly and
the lower byte is read via a temporary register (TEMP). See section 14.3, CPU Interface, for
details. The A/D data registers are initialized to H'0000 by a reset and in standby mode.
410
Abbreviation R/W
ADDRAH
R
ADDRAL
R
ADDRBH
R
ADDRBL
R
R
ADDRCL
R
R
ADDRDL
R
R/(W) *
ADCSR
ADCR
R/W
Address *
Initial Value
H'00
H'05FFFEE0
H'00
H'05FFFEE1
H'00
H'05FFFEE2
H'00
H'05FFFEE3
H'00
H'05FFFEE4
H'00
H'05FFFEE5
H'00
H'05FFFEE6
H'00
H'05FFFEE7
2
H'00
H'05FFFEE8
H'7F
H'05FFFEE9
1
Access Size
8, 16
16
8, 16
16
8, 16
16
8, 16
16
8, 16
8, 16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents