Datasheet
Input/Output Ports (I/O)
Port C
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3 Technical Data
Freescale Semiconductor Input/Output Ports (I/O) 207
12.5 Port C
Port C is an 8-bit general-purpose bidirectional I/O port with software
configurable pullups and current drive options.
12.5.1 Port C Data Register
The port C data register contains a data latch for each of the eight port C
pins.
NOTE: PTC7–PTC1 are not available in the 20-pin PDIP, 20-pin SOIC, and
28-pin SOIC packages.
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 port C pullup enable bit, PCP, in the port option control register
(POCR) enables pullups on port C pins if the respective pin is
configured as an input. (See 12.8 Port Options.)
Address: $0002
Bit 7654321Bit 0
Read:
PTC7 PTC6 PTC5 PTC4 PTC3 PTC2 PTC1 PTC0
Write:
Reset: Unaffected by reset
Additional
Function:
Optional
pullup
Optional
pullup
Optional
pullup
Optional
pullup
Optional
pullup
Optional
pullup
Optional
pullup
Optional
pullup
Figure 12-8. Port C Data Register (PTC)
