MPC82E52AE MEGAWIN [Megawin Technology Co., Ltd], MPC82E52AE Datasheet - Page 55

no-image

MPC82E52AE

Manufacturer Part Number
MPC82E52AE
Description
8-bit micro-controller
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MPC82E52AE
Manufacturer:
SST
Quantity:
1 363
MEGAWIN
SFR: ADCTL (ADC Control register)
SFR: ADCV (ADC Value register):
ADCON :=
{SPEED1, SPEED0} := Conversion speed selector
ADCS := ADC Start control
ADCI := ADC Interrupt flag
{CHS2, CHS1, CHS0} := Input Channel Selector
The ADCV is the final result from the A/D conversion.
ADCON
Bit-7
Bit-7
When clear shut down the power of ADC block. When set turn on the power of
ADC block.
Set to start an A/D conversion. It will be automatically cleared by the device after
the device has finished the conversion.
It will be set by the device after the device has finished a conversion, and should
be cleared by the user’s software.
SPEED1
Bit-6
Bit-6
{0,0} := (default)
{0,1} :=
{1,0} :=
{1,1} :=
{0,0,0} := (default)
{0,0,1} :=
{0,1,0} :=
{0,1,1} :=
{1,0,0} :=
{1,0,1} :=
{1,1,0} :=
{1,1,1} :=
A conversion takes 840 clock cycles
A conversion takes 630 clock cycles
A conversion takes 420 clock cycles
A conversion takes 210 clock cycles
SPEED0
Bit-5
Set P1.0 as the A/D channel input
Set P1.1 as the A/D channel input
Set P1.2 as the A/D channel input
Set P1.3 as the A/D channel input
Set P1.4 as the A/D channel input
Set P1.5 as the A/D channel input
Set P1.6 as the A/D channel input
Set P1.7 as the A/D channel input
Bit-5
MPC82x52A Data Sheet
Achieved Conversion Value
ADCI
Bit-4
Bit-4
ADCS
Bit-3
Bit-3
CHS2
Bit-2
Bit-2
CHS1
Bit-1
Bit-1
CHS0
Bit-0
Bit-0
55

Related parts for MPC82E52AE