English
Language : 

MC9S08AW60 Datasheet, PDF (30/320 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 2 Pins and Connections
2.3.7 General-Purpose I/O and Peripheral Ports
The remaining pins are shared among general-purpose I/O and on-chip peripheral functions such as timers
and serial I/O systems. Immediately after reset, all of these pins are configured as high-impedance
general-purpose inputs with internal pullup devices disabled.
NOTE
To avoid extra current drain from floating input pins, the reset initialization
routine in the application program should either enable on-chip pullup
devices or change the direction of unused pins to outputs so the pins do not
float.
For information about controlling these pins as general-purpose I/O pins, see Chapter 6, “Parallel
Input/Output.” For information about how and when on-chip peripheral systems use these pins, refer to the
appropriate chapter from Table 2-1.
Table 2-1. Pin Sharing Priority
Lowest <- Pin Function Priority -> Highest
Port Pins
Alternate Function Alternate Function
Reference1
PTB7–PTB0 AD1P7–AD1P0
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
PTC5, PTC3 RxD2–TxD2
Chapter 11, “Serial Communications Interface (S08SCIV2)”
PTC2
MCLK
Chapter 5, “Resets, Interrupts, and System Configuration”
PTC1–PTC0 SCL1–SDA1
Chapter 13, “Inter-Integrated Circuit (S08IICV1)”
PTD7
KBI1P7
AD1P15
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
Chapter 9, “Keyboard Interrupt (S08KBIV1)”
PTD6
TPM1CLK
AD1P14
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
Chapter 10, “Timer/PWM (S08TPMV2)”
PTD5
AD1P13
AD1P13
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
PTD4
TPM2CLK
AD1P12
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
Chapter 10, “Timer/PWM (S08TPMV2)”
PTD3–PTD2 KBI1P6–KBI1P5
AD1P11–AD1P10
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
Chapter 9, “Keyboard Interrupt (S08KBIV1)”
PTD1–PTD0 AD1P9–AD1P8
Chapter 14, “Analog-to-Digital Converter (S08ADC10V1)”
PTE7
PTE6
PTE5
PTE4
SPSCK1
MOSI1
MISO1
SS1
Chapter 12, “Serial Peripheral Interface (S08SPIV3)”
PTE3–PTE2
TPM1CH1–
TPM1CH0
Chapter 10, “Timer/PWM (S08TPMV2)”
PTE1–PTE0 RxD1–TxD1
Chapter 11, “Serial Communications Interface (S08SCIV2)”
PTF5–PTF4
TPM2CH1–
TPM2CH0
Chapter 10, “Timer/PWM (S08TPMV2)”
PTF3–PTF0
TPM1CH5–
TPM1CH2
Chapter 10, “Timer/PWM (S08TPMV2)”
PTG4–PTG0 KBI1P4–KBI1P0
Chapter 9, “Keyboard Interrupt (S08KBIV1)”
PTG6–PTG5 EXTAL–XTAL
Chapter 8, “Internal Clock Generator (S08ICGV4)”
1 See the listed chapter for information about modules that share these pins.
MC9S08AW60 Data Sheet, Rev.1.0
30
Freescale Semiconductor