Input/Output (I/O) Ports
Technical Data
MC68HC908GP32
•
MC68HC08GP32
—
Rev. 6
222
Input/Output (I/O) Ports
MOTOROLA
16.5 Port C
Port C is a 7-bit, general-purpose bidirectional I/O port. Port C also has
software configurable pullup devices if configured as an input port.
16.5.1 Port C Data Register
The port C data register (PTC) contains a data latch for each of the
seven port C pins.
NOTE:
Bit 6 and bit 5 of PTC are not available in a 40-pin dual in-line package
and 42-pin shrink dual in-line package.
PTC6–PTC0 — 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.
Address:
$0002
Bit 7
6
5
4
3
2
1
Bit 0
Read:
0
PTC6
PTC5
PTC4
PTC3
PTC2
PTC1
PTC0
Write:
Reset:
Unaffected by reset
= Unimplemented
Figure 16-9. 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
.
..