![Renesas RL78/G1H User Manual Download Page 94](http://html1.mh-extra.com/html/renesas/rl78-g1h/rl78-g1h_user-manual_1440449094.webp)
CHAPTER 5 PORT FUNCTIONS
Page 76 of 920
5.3.1
Port mode registers (PMxx)
These registers specify input or output mode for the port in 1-bit units.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
When port pins are used as alternate-function pins, set the port mode register by referencing
Settings When Using Alternate Function
Figure 5 - 1 Format of Port mode register
Symbol
7
6
5
4
3
2
1
0
Address
After reset
R/W
1
PM06
PM05
PM04 PM03 PM02
PM01
PM00
PM1 PM17
PM16
PM15
PM14
PM13
PM12
PM11
PM10
PM2 PM27
PM26
PM25
PM24
PM23
PM22 PM21 PM20
1
1
1
1
1
1
PM31
PM30
PM4 PM47
PM46
PM45
PM44
PM43
PM42
PM41
PM40
PM5 PM57
PM56
PM55
PM54
PM53
PM52
PM51
PM50
PM6 PM67
PM66
PM65
PM64
PM63 PM62 PM61 PM60
PM77 PM76 PM75
PM74
PM73
PM72 PM71 PM70
PM8 PM87
PM86
PM85
PM84
PM83
PM82 PM81 PM80
1
1
1
1
1
PM102
PM101
PM100
1
1
1
1
1
1
PM111
PM110
1
1
1
1
1
1
1
PM120
PM14 PM147
PM146
PM145
PM144 PM143 PM142 PM141 PM140
1
PM156 PM155
PM154
PM153
PM152
PM151
PM150
PMmn
Pmn pin I/O mode selection (m = 0 to 8, 10 to 12, 14, 15; n = 0 to 7)
0
Output mode (the pin functions as an output port (output buffer on))
1
Input mode (the pin functions as an input port (output buffer off))
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...