gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 32

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.1.4 P0DIR (F4h) : Port 0 Input/Output Control Register
6.2.1.1.5 ALTSEL (E3h) : Alternative Function Selection Register
to input mode.
0 = Output mode. The bit is configured to output.
1 = Input mode. The bit is configured to input.
Symbol
PWM00
This register is configured the P0 to input mode or output mode. The initial P0 mode is configured
Bit No.
Bit No.
TVO
TX
-
PWM Waveform Output Enable to P0[0].
Timer0 Overflow Output Enable to P0[0].
UART TX Data Output Enable to P0[2]. (TXD : TX Data)
Reserved
P0DIR.7
R/W(1)
R/W(0)
IOXEN
0 = Disable the PWM waveform output to P0[0].
1 = Enable the PWM waveform output to P0[0].
0 = Disable the Timer0 overflow output to P0[0].
1 = Enable the Timer0 overflow output to P0[0].
0 = Disable the TX data output to P0[2].
1 = Enable the TX data output to P0[2].
Note that the port directional mode (input/output) of P0[2] for TXD is don’t care.
But the directional mode (input/output) of P0[1] for RXD must set up to input mode,
When user is setting to UART communication.
7
7
IORSTEN
P0DIR.6
R/W(1)
R/W(0)
6
6
P0DIR.5
R/W(1)
R/W(0)
CLO
5
5
Page 32 of 211
(Default)
P0DIR.4
PWM00
R/W(1)
R/W(0)
4
4
Description
(Default)
P0DIR.3
R/W(1)
R/W(0)
TVO
3
3
(Default)
(Default)
P0DIR.2
R/W(1)
R/W(0)
TX
2
2
Functional Description
P0DIR.1
R/W(1)
1
1
-
P0DIR.0
R/W(1)
0
0
-

Related parts for gc80c510