Chapter 9 A/D Converter; Function Of A/D Converter - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
The number of analog input channels of the A/D converter differs, depending on the product.
Analog input channels
Remark Most of the following descriptions in this chapter use the 32-pin products as an example.

9.1 Function of A/D Converter

The A/D converter converts analog input signals into digital values, and is configured to control analog inputs, including
up to 8 channels of A/D converter analog inputs (ANI0 to ANI7, ANI16).
12-bit or 8-bit resolution can be selected by the ADTYP bit of the A/D converter mode register 2 (ADM2).
The A/D converter has the following function.
 12-bit or 8-bit resolution A/D conversion
12-bit or 8-bit resolution A/D conversion is carried out repeatedly for one analog input channel selected from ANI0 to
ANI7 and ANI16. Each time an A/D conversion operation ends, an interrupt request (INTAD) is generated (when in
the select mode).
Caution The valid resolution also depends on the selection of the positive and negative reference voltage
sources for the A/D converter.
For details, see 27.6.1 A/D converter characteristics.
Remark When using the converter with a resolution of 10 bits, select the 12-bit resolution mode (ADTYP = 0).
Use the higher 10 bits of the conversion result. Do not use the lower 2 bits.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019

CHAPTER 9 A/D CONVERTER

Total
High accuracy channel
Standard channel
CHAPTER 9 A/D CONVERTER
24-pin
6 ch
5 ch
(ANI0 to ANI3, ANI7)
1 ch
(ANI16)
32-pin
8 ch
8 ch
(ANI0 to ANI7)
0 ch
241

Advertisement

Table of Contents
loading

Table of Contents