MCU Parallel Input/Output
MC1321x Reference Manual, Rev. 1.6
Freescale Semiconductor
13-3
13.2
Features
Parallel I/O features, depending on package choice, include:
•
A total of 56 general-purpose I/O pins in seven ports (PTG0 is output only)
•
High-current drivers on port C and port F pins
•
Hysteresis input buffers
•
Software-controlled pullups on each input pin
•
Software-controlled slew rate output buffers
•
Eight port A pins shared with KBI1
•
Eight port B pins shared with ATD1
•
Eight high-current port C pins shared with SCI2 and IIC1
•
Eight port D pins shared with TPM1 and TPM2
•
Eight port E pins shared with SCI1 and SPI1
•
Eight high-current port F pins
•
Eight port G pins shared with EXTAL, XTAL, and BKGD/MS
13.3
Pin Descriptions
The HCS08 has a total of 56 parallel I/O pins (one is output only) in seven 8-bit ports (PTA–PTG). Not all
pins are bonded out in all packages. Consult the pin assignment in
, for available parallel I/O pins. All of these pins are available for general-purpose I/O when
they are not used by other on-chip peripheral systems.
After reset, BKGD/MS is enabled and therefore is not usable as an output pin until BKGDPE in SOPT is
cleared. The rest of the peripheral functions are disabled. After reset, all data direction and pullup enable
controls are set to 0s. These pins default to being high-impedance inputs with on-chip pullup devices
disabled.
The following paragraphs discuss each port and the software controls that determine each pin’s use.
13.3.1
Port A and Keyboard Interrupts
Figure 13-2. Port A Pin Names
Port A is an 8-bit port shared among the KBI keyboard interrupt inputs and general-purpose I/O. Any pins
enabled as KBI inputs will be forced to act as inputs.
Port A pins are available as general-purpose I/O pins controlled by the port A data (PTAD), data direction
(PTADD), pullup enable (PTAPE), and slew rate control (PTASE) registers. Refer to
for more information about general-purpose I/O control.
Port A
Bit 7
6
5
4
3
2
1
Bit 0
MCU Pin:
PTA7/
KBI1P7
PTA6/
KBI1P6
PTA5/
KBI1P5
PTA4/
KBI1P4
PTA3/
KBI1P3
PTA2/
KBI1P2
PTA1/
KBI1P1
PTA0/
KBI1P0/
VPP
Summary of Contents for freescale semiconductor MC13211
Page 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Page 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Page 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Page 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Page 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Page 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Page 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Page 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Page 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Page 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...