Datasheet

MC9S08AW60 Data Sheet, Rev 2
Freescale Semiconductor 233
Chapter 14
Analog-to-Digital Converter (S08ADC10V1)
14.1 Overview
The 10-bit analog-to-digital converter (ADC) is a successive approximation ADC designed for operation
within an integrated microcontroller system-on-chip. The ADC module design supports up to 28 separate
analog inputs (AD0-AD27). Only 18 (AD0-AD15, AD26, and AD27) of the possible inputs are
implemented on the MC9S08AW60 Series of MCUs. These inputs are selected by the ADCH bits. Some
inputs are shared with I/O pins as shown in Figure 14-1. All of the channel assignments of the ADC for
the MC9S08AW60 Series devices are summarized in Table 14-1.
14.2 Channel Assignments
The ADC channel assignments for the MC9S08AW60 Series devices are shown in the table below.
Channels that are unimplemented are internally connected to V
REFL
. Reserved channels convert to an
unknown value. Channels which are connected to an I/O pin have an associated pin control bit as shown.
Table 14-1. ADC Channel Assignment
ADCH Channel Input Pin Control ADCH Channel Input Pin Control
00000 AD0 PTB0/ADC1P0 ADPC0 10000 AD16 V
REFL
N/A
00001 AD1 PTB1/ADC1P1 ADPC1 10001 AD17 V
REFL
N/A
00010 AD2 PTB2/ADC1P2 ADPC2 10010 AD18 V
REFL
N/A
00011 AD3 PTB3/ADC1P3 ADPC3 10011 AD19 V
REFL
N/A
00100 AD4 PTB4/ADC1P4 ADPC4 10100 AD20 V
REFL
N/A
00101 AD5 PTB5/ADC1P5 ADPC5 10101 AD21 V
REFL
N/A
00110 AD6 PTB6/ADC1P6 ADPC6 10110 AD22 Reserved N/A
00111 AD7 PTB7/ADC1P7 ADPC7 10111 AD23 Reserved N/A
01000 AD8 PTD0/ADC1P8 ADPC8 11000 AD24 Reserved N/A
01001 AD9 PTD1/ADC1P9 ADPC9 11001 AD25 Reserved N/A
01010 AD10 PTD2/ADC1P10/
KBI1P5
ADPC10 11010 AD26 Temperature
Sensor
1
N/A
01011 AD11 PTD3/ADC1P11/
KBI1P6
ADPC11 11011 AD27 Internal Bandgap N/A
01100 AD12 PTD4/ADC1P12/
TPM2CLK
ADPC12 11100
Reserved N/A
01101 AD13 PTD5/ADC1P13 ADPC13 11101
V
REFH
V
REFH
N/A