EasyManuals Logo

Abov MC97F6108A User Manual

Default Icon
256 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
Page #44 background imageLoading...
Page #44 background image
5. I/O ports MC97F6108A User’s manual
44
5.4 P2 port
5.4.1 P2 port description
P2 is a 2-bit I/O port. P2 control registers consist of P2 data register (P2), P2 direction register (P2IO),
P2 pull-up resistor selection register (P2PU) andP2 open-drain selection register (P2OD).Refer to the
port function selection registers for the P2 function selection.
5.4.2 Register description for P2
P2 (P2 Data Register): 90H
7
6
5
4
3
2
1
0
-
-
-
-
-
-
P21
P20
-
-
-
-
-
-
R/W
R/W
Initial value: 00H
P2[1:0]
I/O Data
P2IO (P2 Direction Register): 99H
7
6
5
4
3
2
1
0
-
-
-
-
-
-
P21IO
P20IO
-
-
-
-
-
-
R/W
R/W
Initial value: 00H
P2IO[1:0]
P2 Data I/O Direction
0
Input
1
Output
P2PU (P2 Pull-up Resistor Selection Register): 2F10H
7
6
5
4
3
2
1
0
-
-
-
-
-
-
P21PU
P20PU
-
-
-
-
-
-
R/W
R/W
Initial value: 00H
P2PU[1:0]
Configure Pull-up Resistor of P2 Port
0
Disable
1
Enable
P2OD (P2 Open-drain Selection Register): 2F11H
7
6
5
4
3
2
1
0
-
-
-
-
-
-
P21OD
P20OD
-
-
-
-
-
-
R/W
R/W
Initial value: 00H
P2OD[1:0]
Configure Open-drain of P2 Port
0
Push-pull output
1
Open-drain output

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov MC97F6108A and is the answer not in the manual?

Abov MC97F6108A Specifications

General IconGeneral
BrandAbov
ModelMC97F6108A
CategoryMicrocontrollers
LanguageEnglish

Related product manuals