English
Language : 

MC68HC08AS32 Datasheet, PDF (203/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Input/Output (I/O) Ports
Port F
When bit DDRFx is a logic 1, reading address $0009 reads the PTFx
data latch. When bit DDRFx is a logic 0, reading address $0009 reads
the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit. Table 15-7 summarizes
the operation of the port F pins.
Table 15-7. Port F Pin Functions
DDRF
Bit
0
PTF
I/O Pin
Accesses
to DDRF
Accesses to PTF
Bit
Mode
Read/Write
Read
Write
X
Input, Hi-Z DDRF[3:0]
Pin
PTF[3:0](1)
1
X
Output
DDRF[3:0] PTF[3:0]
PTF[3:0]
X = Don’t Care
Hi-Z = High Impedance
1. Writing affects data register, but does not affect input.
MC68HC08AS32 — Rev. 3.0
MOTOROLA
Input/Output (I/O) Ports
Advance Information
203