R01UH0822EJ0100 Rev.1.00
Page 828 of 1041
Jul 31, 2019
RX13T Group
26. 12-Bit A/D Converter (S12ADF)
26.2.11
A/D Conversion Extended Input Control Register (ADEXICR)
ADEXICR specifies the settings of A/D conversion of the internal reference voltage.
OCSAD Bit (Internal Reference Voltage A/D-Converted Value Addition/Average Mode Select)
When the OCSAD bit is set to 1, A/D conversion of the internal reference voltage is selected and performed successively
2, 3, 4, or 16 times that is set with the ADADC.ADC[2:0] bits. When the ADADC.AVEE bit is 0, the value obtained by
addition (integration) is stored in the A/D internal reference voltage data register (ADOCDR). When the ADADC.AVEE
bit is 1, the mean value is stored in ADOCDR.
The OCSAD bit should be set while the ADCSR.ADST bit is 0.
OCSA Bit (Internal Reference Voltage A/D Conversion Select)
This bit selects A/D conversion of the internal reference voltage in single scan mode. When A/D conversion of the
internal reference voltage is to be performed, set all the bits in the ADANSA0 and ADANSB0 registers and the
ADCSR.DBLE bit should be set to all 0 in single scan mode.
The OCSA bit should be set while the ADCSR.ADST bit is 0. For A/D conversion of the internal reference voltage, the
ADDISCR.ADNDIS[4:0] bits should be automatically set to 0Fh to discharge the A/D converter before sampling. The
sampling time should be 5 μs or longer.
Sampling starts after discharging is completed during A/D conversion of the internal reference voltage, so an auto-
discharging period of 15 ADCLK cycles is inserted before sampling.
Address(es): S12AD.ADEXICR 0008 9012h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
OCSA
—
—
—
—
—
—
—
OCSAD
—
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
—
Reserved
This bit is read as 0. The write value should be 0.
R/W
b1
Internal Reference Voltage A/D-
Converted Value Addition/Average
Mode Select
0: Internal reference voltage A/D-converted value
addition/average mode is not selected.
1: Internal reference voltage A/D-converted value
addition/average mode is selected.
R/W
b8 to b2
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b9
Internal Reference Voltage A/D
Conversion Select
0: A/D conversion of internal reference voltage is not
performed.
1: A/D conversion of internal reference voltage is
performed.
R/W
b15 to b10 —
Reserved
These bits are read as 0. The write value should be 0.
R/W