|
MC9S08GT16ACBE Datasheet, PDF (30/300 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Pins and Connections
2.3.5 IRQ â External Interrupt Request Pin
IRQ is a dedicated pin with both pullup and pulldown devices built in. This pin has no output capabilities.
After a system reset, the IRQ pin is disabled and must be enabled before use. See Section 5.4.2, âIRQ â
External Interrupt Request Pinâ for more details.
For EMC-sensitive applications, an external RC ï¬lter is recommended on the IRQ pin. See Figure 2-5 for
an example.
2.3.6 General-Purpose I/O and Peripheral Ports
The remaining 36 pins are shared among general-purpose I/O and on-chip peripheral functions such as
timers and serial I/O systems. (Three of these pins are not bonded out on the 44-pin package, ï¬ve are not
bonded out on the 42-pin package, and 15 are not bonded out on the 32-pin package.) Immediately after
reset, all 36 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 section from Table 2-1.
Table 2-1. Pin Sharing References
Port Pins
Alternate Function
Reference1
PTA7âPTA0
KBIP7âKBIP0
Chapter 7, âKeyboard Interrupt (S08KBIV1)â
PTB7âPTB0 ADP7âADP0
Chapter 14, âAnalog-to-Digital Converter (S08ATDV3)â
PTC7âPTC4
PTC3âPTC2 SCLâSDA
Chapter 13, âInter-Integrated Circuit (S08IICV1)â
PTC1âPTC0 RxD2âTxD2
Chapter 11, âSerial Communications Interface (S08SCIV1)â
PTD4âPTD3 TPM2CH1âTPM2CH0, TPM2CLK Chapter 10, âTimer/PWM (S08TPMV2)â
PTD2âPTD0 TPM1CH2âTPM1CH0, TPM1CLK Chapter 10, âTimer/PWM (S08TPMV2)â
PTE5
PTE4
PTE3
PTE2
SPSCK
MISO
MOSI
SS
Chapter 12, âSerial Peripheral Interface (S08SPIV3)â
PTE1âPTE0 RxD1âTxD1
Chapter 11, âSerial Communications Interface (S08SCIV1)â
PTG3
PTG2âPTG1 EXTALâXTAL
Chapter 9, âInternal Clock Generator (S08ICGV4)â
PTG0
BKGD/MS
Chapter 15, âDevelopment Supportâ
1 See this section for information about modules that share these pins.
MC9S08GT16A/GT8A Data Sheet, Rev. 1
30
Freescale Semiconductor
|
▷ |