MC68HC05P1ADW FREESCALE [Freescale Semiconductor, Inc], MC68HC05P1ADW Datasheet - Page 59

no-image

MC68HC05P1ADW

Manufacturer Part Number
MC68HC05P1ADW
Description
General Release Specification
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
7.6 Port D
MC68HC05P1A
INTERNAL HC05
DATA BUS
WRITE $0007
WRITE $0003
READ $0007
READ $0003
Rev. 3.0
RESET
(RST)
Port D is a 2-bit port with one bidirectional pin (PD5) and one input-only
pin (PD7). Pin PD7 is shared with the 16-bit timer. The port D data
register is located at address $0003 and its data direction register (DDR)
is located at address $0007. Reset does not affect the data registers but
clears the DDRs, thereby setting PD5 to input mode. Writing a 1 to DDR
bit 5 sets PD5 to output mode (see
Port D may be used for general I/O applications regardless of the state
of the 16-bit timer. Since PD7 is an input-only line, its state can be read
from the port D data register at any time.
Freescale Semiconductor, Inc.
For More Information On This Product,
Figure 7-4. Port D I/O Circuitry
REGISTER BIT
REGISTER BIT
DIRECTION
DATA
DATA
Go to: www.freescale.com
Input/Output Ports
Figure
7-4).
General Release Specification
OUTPUT
Input/Output Ports
PIN
I/O
Port D

Related parts for MC68HC05P1ADW