mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 200

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Input/Output (I/O) Ports
Technical Data
198
When bit DDRDx is a logic 1, reading address $0003 reads the PTDx
data latch. When bit DDRDx is a logic 0, reading address $0003 reads
the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
the operation of the port D pins.
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
DDRD
Bit
0
1
0
1
READ DDRD ($0007)
WRITE DDRD ($0007)
WRITE PTD ($0003)
READ PTD ($0003)
PTD
Bit
X
X
X
X
Input/Output (I/O) Ports
Bit in Use
by ADC
Table 16-4. Port D Pin Functions
Yes
Yes
No
No
Figure 16-13. Port D I/O Circuit
RESET
Input, Hi-Z
Input, Hi-Z
Input, Hi-Z
I/O Pin
Output
Mode
DDRDx
PTDx
Read/Write
DDRD[5:0]
DDRD[5:0]
DDRD[5:0]
DDRD[5:0]
Accesses
to DDRD
Table 16-4
Freescale Semiconductor
PTD[5:0]
PTD[5:0]
Read
Pin
0
Accesses
MC68HC08QA24
to PTD
summarizes
PTD[5:0]
PTD[5:0]
PTD[5:0]
PTD[5:0]
Write
PTDx
(1)
(1)

Related parts for mc68hc08qa24