|
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 conï¬gured as high-impedance
general-purpose inputs with internal pullup devices disabled.
NOTE
To avoid extra current drain from ï¬oating 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
ï¬oat.
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 Conï¬gurationâ
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
|
▷ |