English
Language : 

MC68HC11P2 Datasheet, PDF (83/268 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Parallel Input/Output
Internal pull-up/pull-down resistors
ups on pins 7–4 and pull-downs on pins 3–0 (see Internal pull-up/pull-
down resistors).
4.10.1 PORTH — Port H data register
Port H data (PORTH)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$007C PH7 PH6 PH5 PH4 PH3 PH2 PH1 PH0 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
function, a write to the corresponding register bit has no affect on the pin
state.
4.10.2 DDRH — Data direction register for port H
Data direction H (DDRH)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$007D DDH7 DDH6 DDH5 DDH4 DDH3 DDH2 DDH1 DDH0 0000 0000
DDH[7:0] — Data direction for port H
1 = The corresponding pin is configured as an output.
0 = The corresponding pin is configured as an input.
4.11 Internal pull-up/pull-down resistors
Three of the ports (B, F and G) have internal, software selectable pull-up
resistors. Port H has both pull-up and pull-down resistors, as described
below.
MC68HC11P2 — Rev 1.0
Parallel Input/Output
For More Information On This Product,
Go to: www.freescale.com
Technical Data