English
Language : 

MC68HC11PH8 Datasheet, PDF (82/264 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
4.3
Port C
Port C is an 8-bit bidirectional port, with both data and data direction registers. In addition to their I/O
capability, port C pins are used as the non-multiplexed data bus pins, as shown in the following table.
Pin
Alternate
function
4
PC0
D0
PC1
D1
PC2
D2




In expanded or test
 mode, the pins
PC3
D3


become the data
PC4
D4
PC5
D5
 bus and port C is


not included in the
 memory map.
PC6
D6


PC7
D7

The state of the pins on reset is mode dependent. In single chip or bootstrap mode, port C pins
are high-impedance inputs. In expanded or test modes, port C pins are the data bus I/O and
PORTC/DDRC are not in the memory map.
4.3.1 PORTC — Port C data register
Port C data (PORTC)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0006 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 undeÞned
The bits may be read and written at any time and are not affected by reset.
4.3.2 DDRC — Data direction register for port C
Data direction C (DDRC)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0007 DDC7 DDC6 DDC5 DDC4 DDC3 DDC2 DDC1 DDC0 0000 0000
DDC[7:0] — Data direction for port C
1 (set) – The corresponding pin is configured as an output.
0 (clear) – The corresponding pin is configured as an input.
MOTOROLA
4-4
PARALLEL INPUT/OUTPUT
TPG
MC68HC11PH8