gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 38

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.2.1 P1 (90h) : Port 1 Register
6.2.1.2.2 P1TYPE (D5h) : Port 1 Type Control Register
6.2.1.2.3 P1SEL (E5h) : Port 1 Pull-up Control Register
is configured to push-pull output type. Note that the P1[2] pin is only the open-drain 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 P0 is FFh.
This register configures the P0 output type to the push-pull or open-drain. The initial P1 output type
This register is enables/disabled the internal pull-up in P1. Note that the P1[2] has no pull-up.
Bit No.
Bit No.
Bit No.
7
7
7
-
-
-
(Default)
6
6
6
-
-
-
5
5
5
-
-
-
Page 38 of 211
4
4
4
-
-
-
(Default)
3
3
3
-
-
-
R/W(1)
P0.2
2
2
2
-
-
Functional Description
P1TYPE.1 P1TYPE.0
P1SEL.1
R/W(1)
R/W(0)
R/W(1)
P0.1
1
1
1
P1SEL.0
R/W(1)
R/W(0)
R/W(1)
P0.0
0
0
0

Related parts for gc80c510