p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 480

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 17 A/D Converter
17.3
The A/D converter has the following registers.
• A/D data register A (ADDRA)
• A/D data register B (ADDRB)
• A/D data register C (ADDRC)
• A/D data register D (ADDRD)
• A/D control/status register (ADCSR)
• A/D control register (ADCR)
17.3.1
There are four 16-bit read-only ADDR registers, ADDRA to ADDRD, used to store the results of
A/D conversion. The ADDR registers which store a conversion result for each channel are shown
in table 17.2.
The 10-bit conversion data is stored in bits 15 to 6. The lower six bits are always read as 0.
The data bus between the CPU and A/D converter is eight bits wide. The upper byte can be read
directly from the CPU. However, when the lower byte is read from, data that was transferred to a
temporary register at reading of the upper byte is read. Accordingly, when reading from ADDR,
access in word units or access upper byte first, and then lower byte.
Table 17.2 Analog Input Channels and Corresponding ADDR
Rev. 1.00 Sep. 21, 2006 Page 442 of 658
REJ09B0310-0100
Group 0
AN0
AN1
AN2
AN3
Register Descriptions
A/D Data Registers A to D (ADDRA to ADDRD)
Analog Input Channel
Group 1
AN4
AN5
AN6
AN7
A/D Data Register to Store A/D Conversion
Results
ADDRA
ADDRB
ADDRC
ADDRD

Related parts for p2125vps20