RL78/G1H CHAPTER 5 PORT FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 83 of 920
Dec 22, 2016
5.3.6 Port mode control registers (PMCxx)
These registers set the P02, P03, P100, P120, and P147 digital I/O/analog input in 1-bit units.
PMC0, PMC10, PMC12, and PMC14 registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears these registers to FFH.
Figure 5 - 6 Format of Port mode control register
Caution Be sure to set bits that are not mounted to their initial values.
Symbol76543210 Address After reset R/W
PMC01111PMC03 PMC02 11 F0060H FFH R/W
PMC101111111
PMC100
F006AH FFH R/W
PMC121111111
PMC120
F006CH FFH R/W
PMC14
PMC147
1111111 F006EH FFH R/W
PMCmn Pmn pin digital I/O/analog input selection (m = 0, 10, 12, 14; n = 0, 2, 3, 7)
0 Digital I/O (alternate function other than analog input)
1 PMC120 is an analog input. The digital I/O of PMC02, PMC03,PMC100, and PMC147 is prohibited.