English
Language : 

UPSD3212A Datasheet, PDF (66/163 Pages) STMicroelectronics – Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
uPSD3212A, 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
5
ADEN
ADC Enable Bit: 0 : ADC shut off and consumes no operating current
1 : enable ADC
4
—
Reserved
ADS1, ADS0 Analog channel select
0, 0
3 to 2
0, 1
1, 0
1, 1
Channel0 (ACH0)
Channel1 (ACH1)
Channel2 (ACH2)
Channel3 (ACH3)
1
ADST
ADC Start Bit: 0 : force to zero
1 : start an ADC; after one cycle, bit is cleared to '0'
0
ADSF
ADC Status Bit: 0 : A/D conversion is in process
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
66/163