![Abov MC96F8204 Series User Manual Download Page 59](http://html1.mh-extra.com/html/abov/mc96f8204-series/mc96f8204-series_user-manual_3544081059.webp)
59
MC96F8204
ABOV Semiconductor Co., Ltd.
9.3
P0 Port
9.3.1
P0 Port Description
P0 is 8-bit I/O port. P0 control registers consist of P0 data register (P0), P0 direction register (P0IO), debounce enable
register (P0DB), P0 pull-up resistor selection register (P0PU), and P0 open-drain selection register (P0OD). Refer to
the port function selection registers for the P0 function selection.
9.3.2
Register description for P0
P0 (P0 Data Register) : 80H
7
6
5
4
3
2
1
0
P07
P06
P05
P04
P03
P02
P01
P00
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P0[7:0]
I/O Data
P0IO (P0 Direction Register) : 88H
7
6
5
4
3
2
1
0
P07IO
P06IO
P05IO
P04IO
P03IO
P02IO
P01IO
P00IO
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P0IO[7:0]
P0 Data I/O Direction.
0
Input
1
Output
NOTE)
1.
SS/EC1/EC2/EINT0/EINT1/EINT10-EINT12 function possible when
input
P0PU (P0 Pull-up Resistor Selection Register) : 93H
7
6
5
4
3
2
1
0
P07PU
P06PU
P05PU
P04PU
P03PU
P02PU
P01PU
P00PU
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P0PU[7:0]
Configure Pull-up Resistor of P0 Port
0
Disable
1
Enable
P0OD (P0 Open-drain Selection Register) : 94H
7
6
5
4
3
2
1
0
P07OD
P06OD
P05OD
P04OD
P03OD
P02OD
P01OD
P00OD
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P0OD[7:0]
Configure Open-drain of P0 Port
0
Push-pull output
1
Open-drain output
Summary of Contents for MC96F8204 Series
Page 13: ...13 MC96F8204 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 20 Pin SOP Package...
Page 14: ...14 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 2 20 Pin TSSOP Package...
Page 15: ...15 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 3 16 Pin SOPN Package...
Page 16: ...16 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 4 10 Pin SSOP Package...
Page 17: ...17 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 5 8 Pin SOP Package...