Freescale Semiconductor, Inc.
Parallel Input/Output
Port C (28-Pin Versions Only)
7.5 Port C (28-Pin Ve rsions Only)
Port C is a 8-bit, general-purpose bidirectional I/O port with these
features:
• Individual programmable pulldown devices
• High current sinking capability on all port C pins, with a maximum
total for port C
• High current sourcing capability on all port C pins, with a maximum
total for port C
7.5.1 Port C Da ta Re g iste r (PORTC)
The port C data register contains a bit for each of the port C pins. When
a port C pin is programmed to be an output, the state of its data register
bit determines the state of the output pin. When a port C pin is
programmed to be an input, reading the port C data register returns the
logic state of the pin.
$0002
Read:
Write:
Reset:
Bit 7
PC7
6
5
4
3
2
1
Bit 0
PC0
PC6
PC5
PC4
PC3
PC2
PC1
Unaffected by Reset
Figure 7-13. Port C Data Register (PORTC)
PC7–PC0 — Port C Data Bits
These read/write bits are software programmable. Data direction of
each bit is under the control of the corresponding bit in the port C data
direction register (DDRC). Reset has no effect on port C data.
MC68HC705JJ7/MC68HC705JP7 — Rev. 3.0
General Release Specification
Parallel Input/Output
For More Information On This Product,
Go to: www.freescale.com