gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 44

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.3.4 P2DIR (F6h) : Port 2 Input/Output Control Register
6.2.1.3.5 ADCSELH (E1h) ADC Channel Selection High Register
to input mode.
0 = Output mode. The bit is configured to output.
1 = Input mode. The bit is configured to input.
Symbol
ADC10B
ADC11B
This register is configured the P2 to input mode or output mode. The initial P2 mode is configured
Bit No.
Bit No.
ADC7B
ADC8B
ADC9B
ADC Channel Selection Low. These bits are configured to enable/disable the ADC channel
inputs (ADC[11:4]). P2[2] ~ P2[6] : ADC7 ~ ADC11 input.
ADC11B
R/W(1)
ADC Channel
ADC11B
7
7
ADC7B
ADC8B
-
P2DIR.6
ADC10B
R/W(1)
R/W(1)
6
6
1 = ADC7 input channel is disabled & digital input is enabled at P2[6].
0 = ADC7 input channel is enabled & digital input is disabled.
1 = ADC8 input channel is disabled & digital input is enabled at P2[5].
0 = ADC8 input channel is enabled & digital input is disabled.
1 = ADC11 input channel is disabled & digital input is enabled at P2[2].
0 = ADC11 input channel is enabled & digital input is disabled.
(Default)
(Default)
(Default)
P2DIR.5
R/W(1)
R/W(1)
ADC9B
5
5
Page 44 of 211
(Default)
P2DIR.4
R/W(1)
R/W(1)
ADC8B
4
4
Description
P2DIR.3
R/W(1)
R/W(1)
ADC7B
3
3
Result
P2DIR.2
R/W(1)
R/W(1)
ADC6B
2
2
Functional Description
P2DIR.1
R/W(1)
R/W(1)
ADC5B
1
1
P2DIR.0
R/W(1)
R/W(1)
ADC4B
0
0

Related parts for gc80c510