XC68HC05P18A Motorola, XC68HC05P18A Datasheet - Page 94

no-image

XC68HC05P18A

Manufacturer Part Number
XC68HC05P18A
Description
HCMOS Microcontroller Unit
Manufacturer
Motorola
Datasheet
Analog-to-Digital (A/D) Converter
11.5.3 Multi-Channel Operation
11.6 A/D Status and Control Register
Technical Data
94
Address:
An input multiplexer allows the A/D converter to select from one of four
external analog signals. Port C pins PC3–PC6 are shared with the inputs
to the multiplexer.
The A/D status and control register (ADSCR) reports the completion of
A/D conversion and provides control over:
See
CC — Conversion Complete Bit
Reset:
Read:
Write:
This read-only status bit is set when a conversion sequence has
completed and data is ready to be read from the ADC register. CC is
cleared when a channel is selected for conversion, when data is read
from the ADC register, or when the A/D subsystem is turned off. Once
a conversion is started, conversions of the selected channel continue
every 32 PH2 clock cycles until the ADSC register is written to again.
During continuous conversion operation, the ADC register is updated
with new data, and the CC bit is set, every 32 PH2 clock cycles. Also,
data from the previous conversion is overwritten regardless of the
state of the CC bit.
Figure
Figure 11-1. A/D Status and Control Register (ADSCR)
Oscillator selection
Analog subsystem power
Input channel selection
$001E
Bit 7
CC
0
Analog-to-Digital (A/D) Converter
11-1.
= Unimplemented
R
6
0
ADON
5
0
R
4
0
0
= Reserved
3
0
0
CH2
2
0
MC68HC05P18A
CH1
1
0
MOTOROLA
Bit 0
CH0
0

Related parts for XC68HC05P18A