RL78/G1P
4.3 Registers Controlling Port Function
Port functions are controlled by the following registers.
Port mode registers (PMxx)
Port registers (Pxx)
Pull-up resistor option registers (PUxx)
Port mode control register 1 (PMC1)
A/D port configuration register (ADPC)
Caution Which registers and bits are included depends on the product. For registers and bits mounted on
each product, see Table 4-11. Be sure to set bits that are not mounted to their initial values.
Table 4-11. PMxx, Pxx, PUxx, PMC1 Registers and Bits Mounted on Each Product (1/2)
Port 1
Port 2
Port 3
Note 24-pin products only.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Port
PMxx
Register
0
PM10
1
PM11
2
PM12
3
PM13
4
PM14
5
PM15
6
PM16
7
PM17
0
PM20
1
PM21
2
PM22
3
PM23
4
PM24
5
PM25
6
PM26
7
PM27
0
PM30
1
PM31
2
PM32
3
PM33
4
PM34
5
PM35
6
7
Bit Name
Pxx
PUxx
PMC1
Register
Register
Register
PMC10
P10
PU10
P11
PU11
P12
PU12
P13
PU13
P14
PU14
P15
PU15
P16
PU16
P17
PU17
P20
P21
P22
P23
P24
P25
P26
P27
P30
PU30
P31
PU31
P32
PU32
P33
PU33
P34
PU34
P35
PU35
CHAPTER 4 PORT FUNCTIONS
32
24
Pin
Pin
Note
Note
83