MC68HC908AS60ACFN FREESCALE [Freescale Semiconductor, Inc], MC68HC908AS60ACFN Datasheet - Page 266

no-image

MC68HC908AS60ACFN

Manufacturer Part Number
MC68HC908AS60ACFN
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Input/Output Ports
Figure 22-25
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.
266
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
shows the port H I/O logic.
DDRH
Bit
0
1
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
READ DDRH ($000F)
WRITE DDRH ($000F)
WRITE PTH ($000B)
READ PTH ($000B)
PTH
Bit
X
X
Table 22-8. Port H Pin Functions
RESET
Figure 22-25. Port H I/O Circuit
Input, Hi-Z
I/O Pin
Output
Mode
Table 22-8
Accesses to DDRH
DDRHx
PTHx
Read/Write
DDRH[1:0]
DDRH[1:0]
summarizes the operation of the port H pins.
PTH[1:0]
Read
Pin
Accesses to PTH
PTH[1:0]
Freescale Semiconductor
PTH[1:0]
Write
PTHx
(1)

Related parts for MC68HC908AS60ACFN