RL78/G1A CHAPTER 4 PORT FUNCTIONS
R01UH0305EJ0200 Rev.2.00 103
Jul 04, 2013
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 input mode registers (PIMxx)
• Port output mode registers (POMxx)
• Port mode control registers (PMCxx)
• A/D port configuration register (ADPC)
• Peripheral I/O redirection register (PIOR)
• Global digital input disable register (GDIDIS)
• Global analog input disable register (GAIDIS)
Caution Which registers and bits are included depends on the product. For registers and bits mounted on
each product, see Table 4-4 Be sure to set bits that are not mounted to their initial values.
Table 4-4. PMxx, Pxx, PUxx, PIMxx, POMxx, PMCxx registers and the bits mounted on each product (1/2)
Bit Name Port
PMxx
Register
Pxx
Register
PUxx
Register
PIMxx
Register
POMxx
Register
PMCxx
Register
64-pin 48-pin 32-pin 25-pin
Port 0 0 PM00 P00 PU00 PIM00
− − √ − − −
1 PM01 P01 PU01 PIM01
− − √ − − −
2 PM02 P02 PU02
−
POM02 PMC02
√ √ √ √
3 PM03 P03 PU03 PIM03 POM03
PMC03
√ √ √ √
4 PM04 P04 PU04 PIM04 POM04
− √ − − −
5 PM05 P05 PU05
− − − √ − − −
6 PM06 P06 PU06
− − − √ − − −
Port 1 0 PM10 P10 PU10 PIM10 POM10
PMC00
√ √ √ √
1 PM11 P11 PU11 PIM11 POM11 PMC01
√ √ √ √
2 PM12 P12 PU12
−
POM12 PMC02
√ √ √ √
3 PM13 P13 PU13
−
POM13 PMC03
√ √ √ −
4 PM14 P14 PU14 PIM14 POM14 PMC04
√ √ √ −
5 PM15 P15 PU15 PIM15 POM15 PMC05
√ √ √ −
6 PM16 P16 PU16 PIM16
− − √ √ − −
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
− − − − √ √ − −
Remark √: Mounted, −: Not mounted