MC97F6108A User’s manual
5. I/O ports
37
5.1.7
Register map
Table 7. Port Register Map
Name
Address
Direction
Default
Description
P0
80H
R/W
00H
P0 Data Register
P0IO
89H
R/W
00H
P0 Direction Register
P0PU
2F00H
R/W
20H
P0 Pull-up Resistor Selection Register
P0OD
2F01H
R/W
00H
P0 Open-drain Selection Register
P0DB
2F02H
R/W
00H
P0 De-bounce Enable Register
P1
88H
R/W
00H
P1 Data Register
P1IO
91H
R/W
00H
P1 Direction Register
P1PU
2F08H
R/W
00H
P1 Pull-up Resistor Selection Register
P1OD
2F09H
R/W
00H
P1 Open-drain Selection Register
P1DB
2F0AH
R/W
00H
P1 De-bounce Enable Register
P2
90H
R/W
00H
P2 Data Register
P2IO
99H
R/W
00H
P2 Direction Register
P2PU
2F10H
R/W
00H
P2 Pull-up Resistor Selection Register
P2OD
2F11H
R/W
00H
P2 Open-drain Selection Register
P2DB
2F12H
R/W
00H
P2 De-bounce Enable Register
PSR0
2F48H
R/W
00H
Port De-bounce Selection Register
PSR2
2F4AH
R/W
00H
Analog I/O port Selection Register
PSR3
2F4BH
R/W
00H
Analog I/O port Selection Register