English
Language : 

SH7125 Datasheet, PDF (499/782 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer
Section 13 A/D Converter (ADC)
13.3.1 A/D Data Registers 0 to 7 (ADDR0 to ADDR7)
ADDRs are 16-bit read-only registers. The conversion result for each analog input channel is
stored in ADDR with the corresponding number. (For example, the conversion result of AN4 is
stored in ADDR4.)
The converted 10-bit data is stored in bits 6 to 15. The lower 6 bits are always read as 0.
The data bus between the CPU and the A/D converter is 16 bits wide. When reading from ADDR,
access must be performed in words. The initial value of ADDR is H'0000.
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
13.3.2 A/D Control/Status Registers_0 and _1 (ADCSR_0 and ADCSR_1)
ADCSR for each module controls A/D conversion operations.
Bit: 15 14 13
ADF ADIE -
Initial value: 0
0
0
R/W:R/(W)* R/W R
12 11 10 9
8
7
6
5
4
3
2
1
0
- TRGE - CONADF STC
CKSL[1:0]
ADM[1:0] ADCS
CH[2:0]
0
0
0
0
0
0
0
0
0
0
0
0
0
R R/W R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Note: * Writing 0 to this bit after reading it as 1 clears the flag and is the only allowed way.
Initial
Bit Bit Name Value
15
ADF
0
R/W
R/(W)*
Description
A/D End Flag
A status flag that indicates the end of A/D conversion.
[Setting conditions]
• When A/D conversion ends in single mode
• When A/D conversion ends on all specified
channels in scan mode
[Clearing condition]
• When 0 is written after reading ADF = 1
Rev. 3.00 Sep. 27, 2007 Page 479 of 758
REJ09B0243-0300