Renesas RL78/G1P Hardware User Manual page 111

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

Advertisement

RL78/G1P
Table 4-12. Settings of Port Related Register When Using Alternate Function (2/2)
Pin Name
P30
INTP2
TxD0
TOOLTxD
SO00
P31
INTP1
RxD0
TOOLRxD
SI00
P32
INTP3
SCK00
P33
TI02
TO02
SSI00
P40
TOOL0
P60
SCLA0
SCLA1
P61
SDAA0
SDAA1
P137
INTP0
:
Remarks 1.
PM:
P:
2.
The relationship between pins and their alternate functions shown in this table indicates the relationship
when a 32-pin product is used. In other products, alternate functions might be assigned to different pins,
but even in this case, the PMxx and Pxx set in the same way.
Note The functions of the ANI0/P20 to ANI7/P27 pins can be selected by using the A/D port configuration register
(ADPC), analog input channel specification register (ADS), and port mode register 2 (PM2).
Table 4-13. Setting Functions of ANI0/P20, ANI1/P21, and ANI4/P24 to ANI7/P27 Pins
ADPC Register
Digital I/O selection
Analog input selection
Remark : don't care
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Alternate Function
Name
don't care
Port mode register
Port output latch
PM2 Register
Input mode
Output mode
Input mode
Output mode
Input
Output
Output
Output
Input
Input
Input
Input
Input
Input
Output
Input
Output
Input
I/O
I/O
I/O
I/O
I/O
Input
ADS Register
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
CHAPTER 4 PORT FUNCTIONS
PM
I/O
1
0
0
0
1
1
1
1
1
1
0
1
0
1
0
0
0
0
ANI0/P20, ANI1/P21,
ANI4/P24 to ANI7/P27 Pins
Digital input
Digital output
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
P
1
1
1
1
0
1
1
1
1
92

Advertisement

Table of Contents
loading

Table of Contents