Renesas RX100 Series User Manual page 825

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

Advertisement

RX13T Group
starts at the fixed voltage value.
The DIAGLD bit should be set while the ADCSR.ADST bit is 0.
DIAGM Bit (Self-Diagnosis Enable)
The DIAGM bit enables or disables self-diagnosis.
Self-diagnosis is used to detect a failure of the 12-bit A/D converter. Specifically, one of the internally generated voltage
values 0, the reference power supply × 1/2, and the reference power supply is converted. When conversion is completed,
information on the converted voltage and the conversion result is stored into the self-diagnosis data register (ADRD).
ADRD can then be read out by software to determine whether the conversion result falls within the normal range
(normal) or not (abnormal). Self-diagnosis is executed once at the beginning of each scan, and one of the three voltages
is converted. When self-diagnosis is selected in group scan mode, self-diagnosis is separately executed in groups A, B, and C.
The DIAGM bit should be set while the ADCSR.ADST bit is 0.
ADRFMT Bit (A/D Data Register Format Select)
The ADRFMT bit specifies flush-right or flush-left for the data to be stored in ADDRy, ADDBLDR, ADDBLDRA,
ADDBLDRB, ADOCDR, or ADRD.
The ADRFMT bit should be set while the ADCSR.ADST bit is 0.
For details on the format of each data register, see section 26.2.1, A/D Data Registers y (ADDRy) (y = 0 to 7), A/D
Data Duplication Register (ADDBLDR), A/D Data Duplication Register A (ADDBLDRA), A/D Data Duplication
Register B (ADDBLDRB), A/D Internal Reference Voltage Data Register (ADOCDR) , and section 26.2.2, A/D
Self-Diagnosis Data Register (ADRD) .
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
26. 12-Bit A/D Converter (S12ADF)
Page 825 of 1041

Advertisement

Table of Contents
loading

Table of Contents