EasyManua.ls Logo

Renesas RL78/G1H - Page 108

Renesas RL78/G1H
941 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G1H CHAPTER 5 PORT FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 90 of 920
Dec 22, 2016
Table 5 - 8 Setting Examples of Registers When Using P20 to P22 Pin Function
Pin Name
Used Function
ADPC ADM2 PMxx Pxx
Function
Name
I/O
P20 P20 Input ADPC = 01H × 1 ×
Output ADPC = 01H × 0 0/1
ANI0 Analog input ADPC = 00H/02H to 0FH 00x0xx0x,
10x0xx0x
AVREFP Reference voltage
input
ADPC = 00H/02H to 0FH 01x0xx0x 1 ×
P21 P21 Input ADPC = 01H/02H × 1 ×
Output ADPC = 01H/02H × 0 0/1
ANI1 Analog input ADPC = 00H/03H to 0FH xx00xx0x 1 ×
AVREFM Reference voltage
input
ADPC = 00H/03H to 0FH xx10xx0x 1 ×
P22 P22 Input ADPC = 01H to 03H × 1 ×
Output ADPC = 01H to 03H × 0 0/1
ANI2 Analog input ADPC = 00H/04H to 0FH × 1 ×

Table of Contents

Related product manuals