
NON-DISCLOSURE
AGREEMENT
REQUIRED
Input/Output Ports (I/O)
General Release Specification
MC68HC08KL8 — Rev. 2.0
Input/Output Ports (I/O)
12.5 Port C
Port C is an 8-bit, general-purpose, bidirectional I/O port with software
configurable pullups and current drive options.
NOTE:
On the 42-lead SDIP package the PTC7–PTC5 pads are not bonded
out. Set these ports to output to avoid floating inputs.
12.5.1 Port C Data Register
The port C data register contains a data latch for each of the eight port
C pins.
PTC[7:0] — Port C Data Bits
These read/write bits are software-programmable. Data direction of
each port C pin is under the control of the corresponding bit in data
direction register C. Reset has no effect on port C data.
The LED direct drive bit, LDD, in the port option control register (POC)
controls the drive options for port C.
The port C pullup enable bit, PCP, in the port option control register
(POC) enables pullups on PTC[7:0] if the respective pin is configured
as an input. (See 12.8 Port Options.)
Address:
$0002
Bit 7
654321
Bit 0
Read:
PTC7
PTC6
PTC5
PTC4
PTC3
PTC2
PTC1
PTC0
Write:
Reset:
Unaffected by Reset
Figure 12-8. Port C Data Register (PTC)
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.