h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 752

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 22 A/D Converter
22.3
The A/D converter has the following registers.
22.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 22.2.
The converted 10-bit data is stored to bits 15 to 6. The lower 6-bit data is always read as 0.
The data bus between the CPU and the A/D converter is 8-bit width. The upper byte can be read
directly from the CPU, but the lower byte should be read via a temporary register. The temporary
register contents are transferred from the ADDR when the upper byte data is read. When reading
the ADDR, read only the upper byte in word units.
Table 22.2 Analog Input Channels and Corresponding ADDR Registers
Rev. 3.00 Jan 25, 2006 page 700 of 872
REJ09B0286-0300
Group 0
CIN0 to CIN7
AN2
AN3
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)
Keyboard comparator control register (KBCOMP)
Register Descriptions
A/D Data Registers A to D (ADDRA to ADDRD)
Analog Input Channel
AN4
AN6
AN7
Group 1
AN5
A/D Data Register to Store A/D Conversion
Results
ADDRA
ADDRB
ADDRC
ADDRD

Related parts for h8s-2158