EasyManua.ls Logo

Abov MC97F60128 - P4 Port; P4 Port Description; Register Description for P4

Abov MC97F60128
382 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
93
MC97F60128
ABOV Semiconductor Co., Ltd.
9.7 P4 Port
9.7.1 P4 Port Description
P4 is 8-bit I/O port. P4 control registers consist of P4 data register (P4), P4 direction register (P4IO), debounce enable
register (P46DB), P4 pull-up resistor selection register (P4PU) and P4 open-drain selection register (P4OD).Refer to
the port function selection registers for the P4 function selection.
9.7.2 Register description for P4
P4 (P4 Data Register): A0H
7
6
5
4
3
2
1
0
P47
P46
P45
P44
P43
P42
P41
P40
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4[7:0]
I/O Data
P4IO (P4 Direction Register): B1H
7
6
5
4
3
2
1
0
P47IO
P46IO
P45 IO
P44IO
P43IO
P42IO
P41IO
P40IO
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4IO[7:0]
P4 Data I/O Direction
0
Input
1
Output
NOTE)
1. EINT10EINT12/EC0EC2/SS0 function possible
when input
P4PU (P4 Pull-up Resistor Selection Register): EEH
7
6
5
4
3
2
1
0
P47PU
P46PU
P45PU
P44PU
P43PU
P42PU
P41PU
P40PU
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4PU[7:0]
Configure Pull-up Resistor of P4 Port
0
Disable
1
Enable
P4OD (P4 Open-drain Selection Register): 4014H (XSFR)
7
6
5
4
3
2
1
0
P47OD
P46OD
P45OD
P44OD
P43OD
P42OD
P41OD
P40OD
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4OD[7:0]
Configure Open-drain of P4 Port
0
Push-pull output
1
Open-drain output

Table of Contents

Related product manuals