mpc82x54a Megawin Technology, mpc82x54a Datasheet - Page 55

no-image

mpc82x54a

Manufacturer Part Number
mpc82x54a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
MEGAWIN
SFR: ADCTL (ADC Control register)
SFR: ADCV (ADC Result Register):
SFR: ADCVL (ADC Result Low):
ADCON :=
{SPEED1, SPEED0}:= Conversion speed selector
ADCS := ADC Start control
ADCI := ADC Interrupt flag
{CHS2, CHS1, CHS0} := Input Channel Selector
The {ADCV[7:0], ADCVL[1:0]} is the final result from the A/D conversion.
ADCON
ADCV.9
Bit-7
Bit-7
Bit-7
-
{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}:=
It will be set by the device after the device has finished a conversion, and
should be cleared by the user’s software.
A conversion takes 1080 clock cycles
A conversion takes 810 clock cycles
A conversion takes 540 clock cycles
A conversion takes 270 clock cycles
Set to start an A/D conversion. It will be automatically cleared by the device
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
after the device has finished the conversion.
When clear shut down the power of ADC block. When set turn on the power
of ADC block.
SPEED1
ADCV.8
Bit-6
Bit-6
Bit-6
-
SPEED0
ADCV.7
Bit-5
Bit-5
Bit-5
-
MPC82x54A Data Sheet
ADCV.6
ADCI
Bit-4
Bit-4
Bit-4
-
ADCV.5
ADCS
Bit-3
Bit-3
Bit-3
-
ADCV.4
CHS2
Bit-2
Bit-2
Bit-2
-
ADCV.3
ADCV.1
CHS1
Bit-1
Bit-1
Bit-1
ADCV.2
ADCV.0
CHS0
Bit-0
Bit-0
Bit-0
55

Related parts for mpc82x54a