English
Language : 

MC68HC908GR8A_07 Datasheet, PDF (51/260 Pages) Freescale Semiconductor, Inc – Microcontrollers
3.6 I/O Signals
The ADC module has six pins shared with port B, PTB5/AD5–PTB0/KBD0.
I/O Signals
3.6.1 ADC Analog Ground Pin (VSSAD)/ADC Voltage Reference Low Pin (VREFL)
The ADC analog portion uses VSSAD as its ground pin and VREFL as its lower voltage reference pin.
Connect the VSSAD/VREFL pin to the same voltage potential as VSS.
NOTE
For maximum noise immunity, route VSSAD/VREFL carefully and place
bypass capacitors as close as possible to the package. Routing VREFH
close and parallel to VREFL may improve common mode noise rejection.
3.6.2 ADC Analog Power Pin (VDDAD)/ADC Voltage Reference High Pin (VREFH)
The ADC analog portion uses VDDAD as its power pin and VREFH as its upper voltage reference pin.
Connect the VDDAD/ VREFH pin to the same voltage potential as VDD.
NOTE
For maximum noise immunity, route VDDAD/VREFH carefully and place
bypass capacitors as close as possible to the package. Routing VREFH
close and parallel to VREFL may improve common mode noise rejection.
3.6.3 ADC Voltage In (VADIN)
VADIN is the input voltage signal from one of the six ADC channels to the ADC module.
3.7 I/O Registers
These I/O registers control and monitor ADC operation:
• ADC status and control register (ADSCR)
• ADC data register (ADR)
• ADC clock register (ADCLK)
3.7.1 ADC Status and Control Register
Function of the ADC status and control register (ADSCR) is described here.
Address:
Read:
Write:
Reset:
$003C
Bit 7
COCO
R
0
R
6
AIEN
0
= Reserved
5
ADCO
0
4
ADCH4
1
3
ADCH3
1
2
ADCH2
1
1
ADCH1
1
Figure 3-3. ADC Status and Control Register (ADSCR)
Bit 0
ADCH0
1
COCO — Conversions Complete Bit
In non-interrupt mode (AIEN = 0), COCO is a read-only bit that is set at the end of each conversion.
COCO will stay set until cleared by a read of the ADC data register. Reset clears this bit.
MC68HC908GR8A • MC68HC908GR4A Data Sheet, Rev. 5
Freescale Semiconductor
51