8 port a input/output (i/o) pins (pta7-pta0), 9 port b i/o pins (ptb7-ptb0), 10 port c i/o pins (ptc4-ptc0) – Freescale Semiconductor MC68HC08KH12 User Manual
Page 31: 11 port d i/o pins (ptd7/kbd7-ptd0/kbd0), Port a input/output (i/o) pins (pta7–pta0), Port b i/o pins (ptb7–ptb0), Port c i/o pins (ptc4–ptc0), Port d i/o pins (ptd7/kbd7–ptd0/kbd0), Port e i/o pins (pte4, pte3/kbe3, pte2/kbe2/tch1, Pte1/kbe1/tch0, pte0/kbe0/tclk)

MC68HC(7)08KH12
—
Rev. 1.1
Advance Information
Freescale Semiconductor
31
1.5.8 Port A Input/Output (I/O) Pins (PTA7–PTA0)
PTA7–PTA0 are general-purpose bidirectional I/O port pins.
.) Each pin contains a software configurable pull-
up device when the pin is configured as an input.
1.5.9 Port B I/O Pins (PTB7–PTB0)
PTB7–PTB0 are general-purpose bidirectional I/O port pins.
.) Each pin contains a software configurable pull-
up device when the pin is configured as an input.
1.5.10 Port C I/O Pins (PTC4–PTC0)
PTC4–PTC0 are general-purpose bidirectional I/O port pins.
.) Port C pins are software configurable to be LED
Direct Drive ports. Each pin contains a software configurable pull-up
device when the pin is configured as an input.
1.5.11 Port D I/O Pins (PTD7/KBD7–PTD0/KBD0)
PTD7/KBD7–PTD0/KBD0 are general-purpose bidirectional I/O port
pins.
.) Any or all of the port D pins can be
programmed to serve as external interrupt pins.
Keyboard Interrupt Module (KBI)
1.5.12 Port E I/O Pins (PTE4, PTE3/KBE3, PTE2/KBE2/TCH1,
PTE1/KBE1/TCH0, PTE0/KBE0/TCLK)
Port-E is a 5-bit special function port which shares three of its pins with
the Timer Interface Module and four of its pins with Keyboard Interrupt
Module (
Section 15. Keyboard Interrupt
Section 11. Timer Interface Module (TIM)
addition, PTE3-PTE0 has built-in optical coupling interface for optical
mouse application.