Z51F6412
Product Specification
PS030302-0212
P R E L I M I N A R Y
38
9.2.7 Port Selection Register (PSRx)
PSRx registers prevent the input leakage current when ports are connected to analog inputs. If the
bit of PSRx is ‘1’, the dynamic current path of the schmitt OR gate of the port is cut off and the digital
input of the corresponding port is always ‘0’.
9.2.8 Register Map
Table 9-1 Register Map
Name
Address
Dir
Default
Description
P0 80H
R/W
00H
P0
Data
Register
P0IO
89H
R/W
00H
P0 Direction Register
P0PU
2F00H
R/W
00H
P0 Pull-up Resistor Selection Register
P0OD
2F0CH
R/W
00H
P0 Open-drain Selection Register
P0DB 2F18H
R/W
00H P0
Debounce
Enable
Register
PCI0
AEH
R/W
00H
P0 Pin Change Interrupt Enable Register
P1
88H
R/W
00H
P1 Data Register
P1IO
91H
R/W
00H
P1 Direction Register
P1PU
2F01H
R/W
00H
P1 Pull-up Resistor Selection Register
P1OD
2F0DH
R/W
00H
P1 Open-drain Selection Register
P1DB
2F19H
R/W
00H
P1 Debounce Enable Register
P2 90H
R/W
00H
P2
Data
Register
P2IO
99H
R/W
00H
P2 Direction Register
P2PU
2F02H
R/W
00H
P2 Pull-up Resistor Selection Register
P2OD
2F0EH
R/W
00H
P2 Open-drain Selection Register
P2DB 2F1AH
R/W
00H P2
Debounce
Enable
Register
P3
98H
R/W
00H
P3 Data Register
P3IO
A1H
R/W
00H
P3 Direction Register
P3PU
2F03H
R/W
00H
P3 Pull-up Resistor Selection Register
P3OD
2F0FH
R/W
00H
P3 Open-drain Selection Register
P3DB
2F1BH
R/W
00H
P3 Debounce Enable Register
P4 A0H
R/W
00H
P4
Data
Register
P4IO
B1H
R/W
00H
P4 Direction Register
P4PU
2F04H
R/W
00H
P4 Pull-up Resistor Selection Register
P4OD
2F10H
R/W
00H
P4 Open-drain Selection Register
P4DB 2F1CH
R/W
00H P4
Debounce
Enable
Register
P5
B0H
R/W
00H
P5 Data Register
P5IO
B9H
R/W
00H
P5 Direction Register
P5PU
2F05H
R/W
00H
P5 Pull-up Resistor Selection Register
P5OD
2F11H
R/W
00H
P5 Open-drain Selection Register
P5DB
2F1DH
R/W
00H
P5 Debounce Enable Register
P6 C0H
R/W
00H
P6
Data
Register
P6IO
C1H
R/W
00H
P6 Direction Register
P6PU
2F06H
R/W
0CH
P6 Pull-up Resistor Selection Register