English
Language : 

UPSD3212C Datasheet, PDF (69/152 Pages) STMicroelectronics – Flash Programmable System Devices with 8032 Microcontroller Core and 16Kbit SRAM
UPSD3212C, UPSD3212CV
Table 46. ADC SFR Memory Map
SFR Reg
Addr Name
7
6
Bit Register Name
5
4
3
2
1
0
Reset
Value
Comments
95 ASCL
8-bit
00 Prescaler for
ADC clock
96 ADAT
ADAT7
ADAT6 ADAT5 ADAT4 ADAT3 ADAT2 ADAT1 ADAT0
00
ADC Data
Register
97 ACON
ADEN
ADS1 ADS0 ADST
ADSF
00
ADC Control
Register
Table 47. Description of the ACON Bits
Bit
Symbol
Function
7 to 6
—
Reserved
ADEN ADC Enable Bit: 0 : ADC shut off and consumes no operating current
5
1 : enable ADC
4
—
Reserved
ADS1, ADS0 Analog channel select
0, 0
Channel0 (ACH0)
3 to 2
0, 1
Channel1 (ACH1)
1, 0
Channel2 (ACH2)
1, 1
Channel3 (ACH3)
ADST ADC Start Bit: 0 : force to zero
1
1 : start an ADC; after one cycle, bit is cleared to '0'
ADSF ADC Status Bit: 0 : A/D conversion is in process
0
1 : A/D conversion is completed, not in process
Table 48. ADC Clock Input
MCU Clock Frequency
40MHz
36MHz
24MHz
12MHz
Prescaler Register Value
2
2
1
0
ADC Clock
6.7MHz
6MHz
6MHz
6MHz
69/152