RL78/G1P
CHAPTER 4 PORT FUNCTIONS
R01UH0895EJ0100 Rev.1.00
83
Nov 29, 2019
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
Bit Name
32
Pin
24
Pin
PMxx
Register
Pxx
Register
PUxx
Register
PMC1
Register
Note
Port 1
0
PM10
P10
PU10
PMC10
Note
1 PM11 P11 PU11
2 PM12 P12 PU12
3 PM13 P13 PU13
4 PM14 P14 PU14
5 PM15 P15 PU15
6 PM16 P16 PU16
7 PM17 P17 PU17
Port 2
0
PM20
P20
1 PM21 P21
2 PM22 P22
3 PM23 P23
4 PM24 P24
5 PM25 P25
6 PM26 P26
7 PM27 P27
Port 3
0
PM30
P30
PU30
1 PM31 P31 PU31
2 PM32 P32 PU32
3 PM33 P33 PU33
4 PM34 P34 PU34
5 PM35 P35 PU35
6
7
Note
24-pin products only.