s908qc16g0cdte Freescale Semiconductor, Inc, s908qc16g0cdte Datasheet - Page 40

no-image

s908qc16g0cdte

Manufacturer Part Number
s908qc16g0cdte
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet
10-Bit Analog-to-Digital Converter (ADC10) Module
3.7.4 ADC10 Voltage Reference Low Pin (V
V
V
potential as V
charging. If externally available, connect the V
ground location.
3.7.5 ADC10 Channel Pins (ADn)
The ADC10 has multiple input channels. Empirical data shows that capacitors on the analog inputs
improve performance in the presence of noise or when the source impedance is high. 0.01 μF capacitors
with good high-frequency characteristics are sufficient. These capacitors are not necessary in all cases,
but when used they must be placed as close as possible to the package pins and be referenced to V
3.8 Registers
These registers control and monitor operation of the ADC10:
3.8.1 ADC10 Status and Control Register
This section describes the function of the ADC10 status and control register (ADCSC). Writing ADCSC
aborts the current conversion and initiates a new conversion (if the ADCH[4:0] bits are equal to a value
other than all 1s).
COCO — Conversion Complete Bit
AIEN — ADC10 Interrupt Enable Bit
ADCO — ADC10 Continuous Conversion Bit
40
REFL
REFL
COCO is a read-only bit which is set each time a conversion is completed. This bit is cleared whenever
the status and control register is written or whenever the data register (low) is read.
When this bit is set, an interrupt is generated at the end of a conversion. The interrupt signal is cleared
when the data register is read or the status/control register is written.
When this bit is set, the ADC10 will begin to convert samples continuously (continuous conversion
mode) and update the result registers at the end of each conversion, provided the ADCH[4:0] bits do
not decode to all 1s. The ADC10 will continue to convert until the MCU enters reset, the MCU enters
1 = Conversion completed
0 = Conversion not completed
1 = ADC10 interrupt enabled
0 = ADC10 interrupt disabled
ADC10 status and control register, ADCSC
ADC10 data registers, ADRH and ADRL
ADC10 clock register, ADCLK
is the power supply for setting the low-reference voltage for the converter. In some packages,
is connected internally to V
SSA
Reset:
Read:
Write:
. There will be a brief current associated with V
Figure 3-3. ADC10 Status and Control Register (ADCSC)
COCO
Bit 7
0
AIEN
MC68HC08QY/QT Family Data Sheet, Rev. 2
SSA
6
0
. If externally available, connect the V
ADCO
5
0
REFL
ADCH4
REFL
pin to the same potential as V
4
1
)
ADCH3
3
1
REFL
ADCH2
2
1
when the sampling capacitor is
REFL
ADCH1
1
1
pin to the same voltage
SSA
Freescale Semiconductor
ADCH0
at the single point
Bit 0
1
SSA
.

Related parts for s908qc16g0cdte