A/D Self-Diagnosis Data Register (Adrd) - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
26.2.2

A/D Self-Diagnosis Data Register (ADRD)

Address(es): S12AD.ADRD 0008 901Eh
b15
b14
Value after reset:
0
0
ADRD is a 16-bit read-only register that stores the A/D conversion results based on the 12-bit A/D converter's self-
diagnosis. In addition to the A/D-converted value, the self-diagnosis status is included in. In the ADRD register, the
different formats are used depending on the conditions below.
 Settings of the A/D data register format select bit (ADCER.ADRFMT) (flush-right or flush-left)
The A/D-converted value addition mode and A/D-converted value average mode cannot be applied to the A/D self-
diagnosis function. For details of self-diagnosis, see section 26.2.9, A/D Control Extended Register (ADCER) .
The data formats for each given condition are shown below.
 Flush-right format
The A/D-converted value is stored in bits 11 to 0. The self-diagnosis status is stored in bits 15 and 14.
Bits 13 and 12 are read as 0.
 Flush-left format
The A/D-converted value is stored in bits 15 to 4. The self-diagnosis status is stored in bits 1 and 0.
Bits 3 and 2 are read as 0.
Table 26.4
Self-Diagnosis Status Description
Bits 15 and 14 for flush-right format setting
Bits 1 and 0 for flush-left format setting
00b
01b
10b
11b
Note:
For details of self-diagnosis, see section 26.2.9, A/D Control Extended Register (ADCER).
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b13
b12
b11
b10
0
0
0
0
Self-diagnosis status
Self-diagnosis has never been executed since power-on.
Self-diagnosis using the voltage of 0 V has been executed.
Self-diagnosis using the voltage of reference power supply × 1/2 has been executed.
Self-diagnosis using the voltage of reference power supply has been executed.
b9
b8
b7
b6
0
0
0
0
26. 12-Bit A/D Converter (S12ADF)
b5
b4
b3
b2
0
0
0
0
Page 814 of 1041
b1
b0
0
0

Advertisement

Table of Contents
loading

Table of Contents