gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 39

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.2.4 P1DIR (F5h) : Port 1 Input/Output Control Register
6.2.1.2.5 ALTSEL (E3h) : Alternative Function Selection Register
MiDAS1.1 Family
to input mode.
0 = Output mode. The bit is configured to output.
1 = Input mode. The bit is configured to input.
IORSTEN
Symbol
This register is configured the P1 to input mode or output mode. The initial P1 mode is configured
Bit No.
Bit No.
IOXEN
-
I/O bits from XTAL1/XTAL2 Enable. (XTAL1 : Input, XTAL2 : Output)
I/O bits from RESETB Enable.
Reserved
R/W(0)
IOXEN
0 = The P1[1] and P1[0] bits are configured as XTAL Input/Output
1 = The P1[1] and P1[0] bits are configured as general I/O pins.
Note that you must set XTOFF bit (PMR.3) to “1” to turn off the internal amplifier.
0 = The P1[2] bit is configured as RESETB input.
1 = The P1[2] bit is configured as general I/O pin.
7
7
-
IORSTEN
R/W(0)
6
6
-
R/W(0)
CLO
5
5
-
Page 39 of 211
(Default)
PWM00
R/W(0)
4
4
-
Description
R/W(0)
TVO
3
3
-
(Default)
P1DIR.2
R/W(1)
R/W(0)
TX
2
2
(Default)
P1DIR.1
R/W(1)
1
1
-
P1DIR.0
R/W(1)
0
0
-

Related parts for gc80c510