gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 31

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.1.1 P0 (80h) : Port 0 Register
6.2.1.1.2 P0TYPE (D4h) : Port 0 Type Control Register
6.2.1.1.3 P0SEL (E4h) : Port 0 Pull-up Control Register
MiDAS1.1 Family
“1”. The PWM waveform will be output to P0[6].
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.
If user wants to use the P0[6] bit as PWM waveform output to P0[6], set the P0SEL (PWMCON[0]) to
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 P0 output type
This register is enables/disabled the internal pull-up in P0.
Bit No.
Bit No.
Bit No.
P0TYPE.7 P0TYPE.6 P0TYPE.5 P0TYPE.4 P0TYPE.3 P0TYPE.2 P0TYPE.1 P0TYPE.0
P0SEL.7
R/W(1)
R/W(0)
R/W(0)
P0.7
7
7
7
P0SEL.6
R/W(1)
R/W(0)
R/W(0)
P0.6
(Default)
6
6
6
P0SEL.5
R/W(1)
R/W(0)
R/W(0)
P0.5
5
5
5
Page 31 of 211
P0SEL.4
R/W(1)
R/W(0)
R/W(0)
P0.4
4
4
4
(Default)
P0SEL.3
R/W(1)
R/W(0)
R/W(0)
P0.3
3
3
3
P0SEL.2
R/W(1)
R/W(0)
R/W(0)
P0.2
2
2
2
P0SEL.1
R/W(1)
R/W(0)
R/W(0)
P0.1
1
1
1
P0SEL.0
R/W(1)
R/W(0)
R/W(0)
P0.0
0
0
0

Related parts for gc80c510