English
Language : 

MC68HC08BD24 Datasheet, PDF (148/244 Pages) Motorola, Inc – HCMOS Microcontroller Unit
12.7.1 ADC Voltage In (ADCVIN)
ADCVIN is the input voltage signal from one of the 6 ADC channels to
the ADC module.
12.8 I/O Registers
Three I/O registers control and monitor ADC operation:
• ADC status and control register (ADSCR, $005D)
• ADC data register (ADR, $005E)
• ADC clock register (ADICLK, $005F)
12.8.1 ADC Status and Control Register
The following paragraphs describe the function of the ADC status and
control register.
Address: $005D
Bit 7
6
5
4
3
2
1
Bit 0
Read: COCO
AIEN ADCO ADCH4 ADCH3 ADCH2 ADCH1 ADCH0
Write:
Reset: 0
0
0
1
1
1
1
1
= Unimplemented
Figure 12-2. ADC Status and Control Register (ADSCR)
COCO — Conversions Complete Bit
When the AIEN bit is a logic 0, the COCO is a read-only bit which is
set each time a conversion is completed. This bit is cleared whenever
the ADC status and control register is written or whenever the ADC
data register is read. Reset clears this bit.
1 = conversion completed (AIEN = 0)
0 = conversion not completed (AIEN = 0)
When the AIEN bit is a logic 1 (CPU interrupt enabled), the COCO is
a read-only bit, and will always be logic 0 when read.
Technical Data
148
MC68HC08BD24 — Rev. 1.1
Freescale Semiconductor