MC68HC908AS60ACFN FREESCALE [Freescale Semiconductor, Inc], MC68HC908AS60ACFN Datasheet - Page 328

no-image

MC68HC908AS60ACFN

Manufacturer Part Number
MC68HC908AS60ACFN
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Analog-to-Digital Converter (ADC)
26.3.1 ADC Port I/O Pins
PTD6/ATD14/TACLK
share with the ADC channels.
The channel select bits define which ADC channel/port pin will be used as the input signal. The ADC
overrides the port I/O logic by forcing that pin as input to the ADC. The remaining ADC channels/port pins
are controlled by the port I/O logic and can be used as general-purpose I/O. Writes to the port register or
DDR will not have any affect on the port pin that is selected by the ADC. Read of a port pin which is in
use by the ADC will return a 0 if the corresponding DDR bit is at logic 0. If the DDR bit is at logic 1, the
value in the port data latch is read.
328
INTERNAL
DATA BUS
AIEN
Do not use ADC channels ATD14 or ATD12 when using the
PTD6/ATD14/TACLK or PTD4/ATD12/TBCLK pins as the clock inputs for
the 16-bit Timers.
INTERRUPT
LOGIC
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
READ DDRB/DDRB
WRITE DDRB/DDRD
WRITE PTB/PTD
READ PTB/PTD
COCO
PTD0/ATD8 and PTB7/ATD7
BUS CLOCK
CONVERSION
COMPLETE
CGMXCLK
RESET
Figure 26-1. ADC Block Diagram
ADIV[2:0]
ADC DATA REGISTER
CLOCK
GENERATOR
DDRBx/DDRDx
ADC
PTBx/PTDx
ADC CLOCK
ADICLK
NOTE
PTB0/ATD0 are general-purpose I/O pins that
ADC VOLTAGE IN
ADCVIN
DISABLE
DISABLE
CHANNEL
SELECT
ADC CHANNEL x
Freescale Semiconductor
PTBx/PTDx
ADCH[4:0]

Related parts for MC68HC908AS60ACFN