|
MC9S08GB60A Datasheet, PDF (31/302 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers | |||
|
◁ |
Chapter 2 Pins and Connections
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 section from Table 2-1.
Table 2-1. Pin Sharing References
Port Pins
Alternate
Function
Reference1
PTA7âPTA0
KBI1P7âKBI1P0
Chapter 2, âPins and Connectionsâ
PTB7âPTB0 AD1P7âAD1P0
Chapter 14, âAnalog-to-Digital Converter (S08ATDV3)â
PTC7âPTC4
â
Chapter 6, âParallel Input/Outputâ
PTC3âPTC2 SCL1âSDA1
Chapter 13, âInter-Integrated Circuit (S08IICV1)â
PTC1âPTC0 RxD2âTxD2
Chapter 11, âSerial Communications Interface (S08SCIV1)â
PTD7âPTD3
TPM2CH4â
TPM2CH0
Chapter 10, âTimer/PWM (S08TPMV1)â
PTD2âPTD0
TPM1CH2â
TPM1CH0
Chapter 10, âTimer/PWM (S08TPMV1)â
PTE7âPTE6
â
Chapter 6, âParallel Input/Outputâ
PTE5
PTE4
PTE3
PTE2
SPSCK1
MISO1
MOSI1
SS1
Chapter 12, âSerial Peripheral Interface (S08SPIV3)â
PTE1âPTE0 RxD1âTxD1
Chapter 11, âSerial Communications Interface (S08SCIV1)â
PTF7âPTF0
â
Chapter 6, âParallel Input/Outputâ
PTG7âPTG3
â
Chapter 6, âParallel Input/Outputâ
PTG2âPTG1 EXTALâXTAL
Chapter 7, âInternal Clock Generator (S08ICGV2)â
PTG0
BKGD/MS
Chapter 15, âDevelopment Supportâ
1 See this section for information about modules that share these pins.
When an on-chip peripheral system is controlling a pin, data direction control bits still determine what is
read from port data registers even though the peripheral module controls the pin direction by controlling
the enable for the pinâs output buffer. See Chapter 6, âParallel Input/Outputâ for details.
Pullup enable bits for each input pin control whether on-chip pullup devices are enabled whenever the pin
is acting as an input even if it is being controlled by an on-chip peripheral module. When the PTA7âPTA4
pins are controlled by the KBI module and are configured for rising-edge/high-level sensitivity, the pullup
enable control bits enable pulldown devices rather than pullup devices. Similarly, when IRQ is configured
as the IRQ input and is set to detect rising edges, the pullup enable control bit enables a pulldown device
rather than a pullup device.
MC9S08GB60A Data Sheet, Rev. 2
Freescale Semiconductor
31
|
▷ |