Settings Of Port Related Register When Using Alternate Function - Renesas RL78/G1P Hardware User Manual

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

Advertisement

RL78/G1P

4.5 Settings of Port Related Register When Using Alternate Function

To use the alternate function of a port pin, set the port mode register, and output latch as shown in Table 4-12.
Caution If the output function of an alternate function is assigned to a pin that is also used as an output pin,
the output of the unused alternate function must be set to its initial state. See 4.6.2 for details about
the applicable units and how to handle such pins.
Table 4-12. Settings of Port Related Register When Using Alternate Function (1/2)
Pin Name
P12
TI03
TO03
INTP4
PCLBUZ0
P13
TI00
TO00
P15
PCLBUZ1
P16
TI01
TO01
INTP5
Note
Note
P20
ANI0
Note
AV
REFP
Note
Note
P21
ANI1
Note
AV
REFM
Note
Note
P22
ANI2
ANO0
Note
Note
P23
ANI3
ANO1
Note
P24 to P27
ANI4 to ANI7
:
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 is described on next page.)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Alternate Function
Name
Note
don't care
Port mode register
Port output latch
CHAPTER 4 PORT FUNCTIONS
PM
I/O
Input
1
Output
0
Input
1
Output
0
Input
1
Output
0
Output
0
Input
1
Output
0
Input
1
Input
1
Input
1
Input
1
Input
1
Input
1
Output
1
Input
1
Output
1
Input
1
P
0
0
0
0
0
91

Advertisement

Table of Contents
loading

Table of Contents