gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 43

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.3.1 P2 (A0h) : Port 2 Register
6.2.1.3.2 P2TYPE (D6h) : Port 2 Type Control Register
6.2.1.3.3 P2SEL (E6h) : Port 2 Pull-up Control Register
MiDAS1.1 Family
is configured to push-pull output type.
0 = Push-pull output type.
1 = Open-drain output.
0 = Pull-up ON. The bit is configured to pull-up ON.
1 = Pull-up OFF. The bit is configured to pull-up OFF.
This register functions as a general purpose I/O port. The initial value of P2 is *1111111.
This register configures the P2 output type to the push-pull or open-drain. The initial P2 output type
This register is enables/disabled the internal pull-up in P2.
Bit No.
Bit No.
Bit No.
7
7
7
-
-
-
P2TYPE.6 P2TYPE.5 P2TYPE.4 P2TYPE.3 P2TYPE.2 P2TYPE.1 P2TYPE.0
P2SEL.6
R/W(1)
R/W(0)
R/W(0)
P2.6
(Default)
6
6
6
P2SEL.5
R/W(1)
R/W(0)
R/W(0)
P2.5
5
5
5
Page 43 of 211
P2SEL.4
R/W(1)
R/W(0)
R/W(0)
P2.4
4
4
4
(Default)
P2SEL.3
R/W(1)
R/W(0)
R/W(0)
P2.3
3
3
3
P2SEL.2
R/W(1)
R/W(0)
R/W(0)
P2.2
2
2
2
P2SEL.1
R/W(1)
R/W(0)
R/W(0)
P2.1
1
1
1
P2SEL.0
R/W(1)
R/W(0)
R/W(0)
P2.0
0
0
0

Related parts for gc80c510