English
Language : 

Z51F3220FNX Datasheet, PDF (70/312 Pages) Zilog, Inc. – Z8051 Series 8-Bit Microcontrollers
Z51F3220
Product Specification
9.4 P1 Port
9.4.1 P1 Port Description
P1 is 8-bit I/O port. P1 control registers consist of P1 data register (P1), P1 direction register (P1IO), debounce
enable register (P15DB), P1 pull-up resistor selection register (P1PU), and P1 open-drain selection register
(P1OD) . Refer to the port function selection registers for the P1 function selection.
9.4.2 Register description for P1
P1 (P1 Data Register) : 88H
7
6
5
4
3
2
1
0
P17
P16
P15
P14
P13
P12
P11
P10
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P1[7:0]
I/O Data
P1IO (P1 Direction Register) : B1H
7
6
5
P17IO
P16IO
P15IO
R/W
R/W
R/W
P1IO[7:0]
4
P14IO
R/W
3
P13IO
R/W
2
P12IO
R/W
1
P11IO
R/W
0
P10IO
R/W
Initial value : 00H
P1 Data I/O Direction
0
Input
1
Output
NOTE: EINT6/ENINT7/EINT11/EINT12/SS2/EC1 function possibl
when input
P1PU (P1 Pull-up Resistor Selection Register) : ADH
7
6
5
4
P17PU
P16PU
P15PU
P14PU
R/W
R/W
R/W
R/W
3
P13PU
R/W
2
P12PU
R/W
P1PU[7:0]
Configure Pull-up Resistor of P1 Port
0
Disable
1
Enable
1
P11PU
R/W
0
P10PU
R/W
Initial value : 00H
P1OD (P1 Open-drain Selection Register) : 92H
7
6
5
4
P17OD
P16OD
P15OD
P14OD
R/W
R/W
R/W
R/W
3
P13OD
R/W
2
P12OD
R/W
P1OD[7:0]
Configure Open-drain of P1 Port
0
Push-pull output
1
Open-drain output
1
P11OD
R/W
0
P10OD
R/W
Initial value : 08H
PS029902-0212
PRELIMINARY
67