English
Language : 

MC908AZ32ACFUE Datasheet, PDF (261/324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Port H
When bit DDRHx is a logic 1, reading address $000B reads the PTHx data latch. When bit DDRHx is a
logic 0, reading address $000B reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit. Table 23-8 summarizes the operation of the port H pins.
Table 23-8. Port H Pin Functions
DDRH
Bit
PTH
Bit
I/O Pin
Mode
Accesses to
DDRH
Read/Write
0
X
Input, Hi-Z DDRH[1:0]
1
X
Output
DDRH[1:0]
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
Accesses to PTH
Read
Pin
PTH[1:0]
Write
PTH[1:0](1)
PTH[1:0]
MC68HC908AZ32A Data Sheet, Rev. 2
Freescale Semiconductor
261