English
Language : 

MC68HC08AZ60 Datasheet, PDF (302/452 Pages) Motorola, Inc – Advance Information
I/O Ports
Freescale Semiconductor, Inc.
PTH[1:0] — Port H Data Bits
These read/write bits are software programmable. Data direction of
each port H pin is under the control of the corresponding bit in data
direction register H. Reset has no effect on PTH[1:0].
KBD[4:3] — Keyboard Wake-up pins
The keyboard interrupt enable bits, KBIE[4:3], in the keyboard
interrupt control register, enable the port H pins as external interrupt
pins (See Keyboard Module (KBD) on page 355).
Data Direction
Register H
Data direction register H determines whether each port H pin is an input
or an output. Writing a logic 1 to a DDRH bit enables the output buffer
for the corresponding port H pin; a logic 0 disables the output buffer.
Address: $000F
Bit 7
6
5
4
3
2
1
Read: 0
0
0
0
0
0
DDRH1
Write: R
R
R
R
R
R
Reset: 0
0
0
0
0
0
0
R = Reserved
Figure 24. Data Direction Register H (DDRH)
Bit 0
DDRH0
0
DDRH[1:0] — Data Direction Register H Bits
These read/write bits control port H data direction. Reset clears
DDRG[1:0], configuring all port H pins as inputs.
1 = Corresponding port H pin configured as output
0 = Corresponding port H pin configured as input
NOTE: Avoid glitches on port H pins by writing to the port H data register before
changing data direction register H bits from 0 to 1.
Figure 25 shows the port H I/O logic.
MC68HC08AZ60 — Rev 1.0
302
I/O Ports
For More Information On This Product,
Go to: www.freescale.com
24-ioports
MOTOROLA