English
Language : 

MC68HC11P2 Datasheet, PDF (78/268 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Parallel Input/Output
4.5.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 = The corresponding pin is configured as an output.
0 = The corresponding pin is configured as an input.
4.6 Port D
Port D is a 6-bit bidirectional port, with both data and data direction
registers. In addition to their I/O capability, port D pins are shared with
SCI and SPI functions, as shown in the following table.
Pin
Alternate
function
PD0
RXD1
 See Serial
PD1
TXD1
 Communications Interface
(SCI) for more information.
PD2
MISO

PD3
PD4
PD5
MOSI
SCK
SS




See Serial Peripheral
Interface (SPI) for more
information.
On reset the pins are configured as general purpose high-impedance
inputs.
4.6.1 PORTD — Port D data register
Port D data (PORTD)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0008 0
0 PD5 PD4 PD3 PD2 PD1 PD0 undefined
This is a read/write register and is not affected by reset. The bits may be
read and written at any time, but, when a pin is allocated to its alternate
Technical Data
Parallel Input/Output
For More Information On This Product,
Go to: www.freescale.com
MC68HC11P2 — Rev 1.0