gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 186

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
15.47 ADC Result Value Register (ADCR)
[8:1] of ADC conversion result will be stored into ADCR. LSB of conversion result will be stored into
ADCON[0].
15.48 ADC Control Register (ADCON)
Bit No.
Bit No.
EEh
EFh
Symbol
AD_REQ
AD_END
AD_EN
ADCF
ACH1
ACH0
SAR0
-
R/W(0)
R/W(0)
AD_EN
SAR8
7
7
Function
ADC Ready Enable.
ADC Start Enable. Cleared by H/W when AD_END goes to 1 from 0.
Cleared by H/W when ADC conversion start.
Set by H/W when ADC conversion has been finished.
0: Data conversion is now running.
1: ADC is idle state.
ADC Interrupt Flag. This bit must be cleared by S/W.
ADC Channel Selection
Reserved.
LSB of ADC result value
ACH1
AD_REQ AD_END
0
0
1
1
R/W(0)
R/W(0)
SAR7
6
6
R/W(0)
SAR6
R(1)
ACH0
5
5
0
1
0
1
R/W(0)
R/W(0)
ADCF
SAR5
Page 186 of 187
Description
ADC0 (P0.0) input selection
ADC1 (P1.1) input selection
ADC2 (P1.2) input selection
ADC3 (P1.3) input selection
4
4
R/W(0)
R/W(0)
ACH1
SAR4
3
3
R/W(0)
R/W(0)
ACH0
SAR3
2
2
Appendix B: SFR description
R/W(0)
SAR2
1
1
-
R/W(0)
R/W(0)
SAR1
SAR0
0
0
ADCON
ADCR

Related parts for gc80c520a