EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
RL78/G1H CHAPTER 5 PORT FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 84 of 920
Dec 22, 2016
5.3.7 A/D port configuration register (ADPC)
This register is used to switch the P20/ANI0, P21/ANI1, P22/ANI2, ANI13/P155, and ANI14/P156 pins to digital
I/O of port or analog function of A/D converter.
The ADPC register can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H.
Figure 5 - 7 Format of A/D port configuration register (ADPC)
Caution 1. Set the port to analog input by ADPC register to the input mode by using port mode registers 2, 15
(PM2, PM15).
Caution 2. Do not set the pin set by the ADPC register as digital I/O by the analog input channel specification
register (ADS).
Caution 3. When using AV
REFP and AVREFM, set ANI0 and ANI1 to analog input and set the port mode register to
the input mode.
Address: F0076H After reset: 00H R/W
Symbol76543210
ADPC 0 0 0 0 ADPC3 ADPC2 ADPC1 ADPC0
ADPC3
ADPC2
ADPC1
ADPC0
Analog function (A)/digital
I/O (D) switching
ANI14/P156
ANI13/P155
ANI2/P22
ANI1/P21
ANI0/P20
0000AAAAA
0001DDDDD
0010DDDDA
0011DDDAA
0100DDAAA
1111DAAAA

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals