159
CHAPTER 6 PORT FUNCTIONS
Figure 6-24. Port Mode Register Format
PM0
PM1
PM2
1 PM06 PM03 PM02 PM01 1
76543210Symbol
PM3
PM5
FF20H
FF21H
FF22H
FF23H
FF25H
FFH
FFH
FFH
FFH
FFH
R/W
R/W
R/W
R/W
R/W
Address
After
Reset
R/W
PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10
PM27 PM26 PM25 PM24 PM23 PM22 PM21 PM20
PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30
PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50
PM6
PM7
PM8
FF26H
FF27H
FF28H
FFH
FFH
FFH
R/W
R/W
R/W
PM67 PM66 PM65 PM64 PM63 PM62 PM61 PM60
1 1 1 1 1 PM72 PM71 PM70
PM87 PM86 PM85 PM84 PM83 PM82 PM81 PM80
PM05 PM04
PM9
FF29H FFH R/W
1 PM96 PM95 PM94 PM93 PM92 PM91 PM90
PM10
PM12
PM13
PMmn
Pmn Pin Input/Output Mode Selection
(m = 0 to 3, 5 to 10, 12, 13 : n = 0 to 7)
0
1
Output mode (output buffer ON)
Input mode (output buffer OFF)
FF2AH
FF2CH
FF2DH
FFH
FFH
FFH
R/W
R/W
R/W
1111
PM103 PM102 PM101PM100
PM122 PM121PM120
111111
PM131 PM130
PM125 PM124 PM123PM127 PM126