85
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15104EJ2V0UD
Figure 4-20. Format of Port Mode Registers
PM0
PM7
1
PM06
PM03 PM02 PM01 PM00
7
6
5
4
3
2
1
0
Symbol
PM3
PM5
FF20H
FF27H
FF23H
FF25H
FFH
FFH
FFH
FFH
R/W
R/W
R/W
R/W
Address
After reset
R/W
PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70
PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30
PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50
PM6
FF26H
FFH
R/W
PM67 PM66 PM65 PM64 PM63 PM62 PM61 PM60
PM05 PM04
PM12
PMmn Pmn pin input/output mode selection
(m = 0, 3 to 7, 12 : n = 0 to 7)
0
1
Output mode (output buffer on)
Input mode (output buffer off)
FF2CH
FFH
R/W
PM122 PM121 PM120
PM125 PM124 PM123
1
1
PM4
FF24H
FFH
R/W
PM47 PM46 PM45 PM44 PM43 PM42 PM41 PM40