English
Language : 

MC68HC05P18 Datasheet, PDF (69/144 Pages) Freescale Semiconductor, Inc – Advance Information
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
I/O Port Programming
Table 7-4. Port D I/O Functions
DDRA
I/O Pin Mode
Access to DDRA
@ $0007
Read/Write
Accesses to Data
Register @ $0003
Read
Write
0 Input, high impedance
DDRD5
I/O pin
*
1
Output
DDRD5
PD5/CKOUT PD5/CKOUT
*Does not affect input, but stored to data register
**PD7 is input-only
NOTE:
To avoid generating a glitch on an I/O port pin, data should be written to
the I/O port data register before writing a logical 1 to the corresponding
data direction register.
MC68HC(8)05P18 — Rev. 2.0
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Advance Information
69