A/D Control Extended Register (Adcer) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
26.2.9

A/D Control Extended Register (ADCER)

Address(es): S12AD.ADCER 0008 900Eh
b15
b14
ADRFM
T
Value after reset:
0
0
Bit
Symbol
b4 to b0
b5
ACE
b7, b6
b9, b8
DIAGVAL[1:0]
b10
DIAGLD
b11
DIAGM
b14 to b12 —
b15
ADRFMT
ADCER sets self-diagnosis mode, format of A/D data registers y (ADDRy), and automatic clearing of A/D data registers.
ACE Bit (A/D Data Register Automatic Clearing Enable)
The ACE bit enables or disables automatic clearing (all 0) of ADDRy, ADRD, ADDBLDR, ADDBLDRA,
ADDBLDRB, or ADOCDR after any of these registers have been read by the CPU and DTC. Automatic clearing of the
A/D data register is enabled to detect a failure which has not been updated in the A/D data register.
DIAGVAL[1:0] Bits (Self-Diagnosis Conversion Voltage Select)
The DIAGVAL[1:0] bits select the voltage value used in self-diagnosis voltage fixed mode. For details, refer to the
descriptions of the ADCER.DIAGLD bit.
Self-diagnosis should not be executed by setting the ADCER.DIAGLD bit to 1 when the ADCER.DIAGVAL[1:0] bits
are set to 00b.
DIAGLD Bit (Self-Diagnosis Mode Select)
The DIAGLD bit selects whether the three voltage values are rotated or the fixed voltage is used in self-diagnosis.
Setting this bit (ADCER.DIAGLD) to 0 allows conversion of the voltages in rotation mode where 0, the reference power
supply × 1/2, and the reference power supply are converted in this order. When self-diagnosis rotation mode is selected
after a reset, self-diagnosis is performed from 0 V. When self-diagnosis voltage fixed mode is selected, the fixed voltage
specified by the ADCER.DIAGVAL[1:0] bits is converted. In self-diagnosis voltage rotation mode, the self-diagnosis
voltage value does not return to 0 when scan conversion is completed. When scan conversion is restarted, therefore,
rotation starts at the voltage value following the previous value. If fixed mode is switched to rotation mode, rotation
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b13
b12
b11
b10
DIAGM DIAGL
D
0
0
0
0
Bit Name
Reserved
A/D Data Register Automatic Clearing
Enable
Reserved
Self-Diagnosis Conversion Voltage
Select
Self-Diagnosis Mode Select
Self-Diagnosis Enable
Reserved
A/D Data Register Format Select
b9
b8
b7
b6
DIAGVAL[1:0]
0
0
0
0
Description
These bits are read as 0. The write value should be 0.
0: Disables automatic clearing.
1: Enables automatic clearing.
These bits are read as 0. The write value should be 0.
b9 b8
0 0: Setting prohibited in self-diagnosis voltage fixed
mode
0 1: Uses the voltage of 0 V for self-diagnosis.
1 0: Uses the voltage of reference power supply ×
1/2 for self-diagnosis.
1 1: Uses the voltage of reference power supply for
self-diagnosis.
0: Rotation mode for self-diagnosis voltage
1: Fixed mode for self-diagnosis voltage
0: Disables self-diagnosis of 12-bit A/D converter.
1: Enables self-diagnosis of 12-bit A/D converter.
These bits are read as 0. The write value should be 0.
0: Flush-right is selected for the A/D data register
format.
1: Flush-left is selected for the A/D data register format.
26. 12-Bit A/D Converter (S12ADF)
b5
b4
b3
b2
ACE
0
0
0
0
Page 824 of 1041
b1
b0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents