AN2429 Freescale Semiconductor / Motorola, AN2429 Datasheet - Page 14

no-image

AN2429

Manufacturer Part Number
AN2429
Description
Interfacing to the HCS12 ATD Module
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2429/D
ATDCLT2 = (ADPU | AWAI);
ATDCTL3 = (S2C);
ATDCTL4 = (PRS2 | PRS0);
{Delay 20us from setting ADPU to first conversion}
ATDCTL5 = (DJM | SCAN | MULT | CA);
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
/* sequence = 2 conversions */
/* Prescaler = 12, 24MHz bus = 2MHz ATDCLK
(programmable sample clocks = 2)*/
/* start conversion sequence,
left justify results,
continuously repeat sequence,
convert multiple channels,
starting at channel 1 */

Related parts for AN2429