gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 34

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.1.1.7 ADCSEL (E2h): ADC Channel Selection Low & MUX Selection Register
Symbol
*
Bit No.
ADC0B
ADC1B
ADC2B
ADC3B
R/W (1)
CH0
CH1
CH2
CH3
means that user can read and writer this flag bit. The initial value of flag bit is “1”.
ADC Channel Selection Low.
ADC MUX Selection.
(4’b1111). Ch, Dh, Eh and Fh means that all ADC inputs are disabled.
CH3
1100 (0xCh) ~ 1111 (0xFh)
R/W(1)
ADC Channel
ADC3B
Theses bits is configured to select the ADC input. The initial value of CH[3:0] is 0xFh
~ P0[4] : ADC0 ~ ADC3 input. (Default = 1)
0
0
0
1
1
These bits are configured to enable/disable the ADC channel inputs (ADC[3:0]). P0[1]
7
ADC0B
ADC1B
ADC2B
ADC3B
CH2
0
0
0
0
0
R/W(1)
ADC2B
6
CH1
1 = ADC0 input channel is disabled & digital input is enabled at P0[1].
0 = ADC0 input channel is enabled & digital input is disabled.
1 = ADC1 input channel is disabled & digital input is enabled at P0[2].
0 = ADC1 input channel is enabled & digital input is disabled.
1 = ADC2 input channel is disabled & digital input is enabled at P0[3].
0 = ADC2 input channel is enabled & digital input is disabled.
1 = ADC3 input channel is disabled & digital input is enabled at P0[4].
0 = ADC3 input channel is enabled & digital input is disabled.
0
0
1
1
1
R/W(1)
ADC1B
CH0
0
1
0
0
1
5
Page 34 of 211
0x0h : ADC0 is selected
0x1h : ADC1 is selected
0x2h : ADC2 is selected
0xAh : ADC10s selected
0xBh : ADC11is selected
No ADC channel is not selected
R/W(1)
ADC0B
4
Description
R/W(1)
CH3
3
Result
Result
R/W(1)
CH2
2
(Default Value = 0xFh)
Functional Description
R/W(1)
CH1
1
R/W(1)
CH0
0

Related parts for gc80c510