English
Language : 

MC68HC08AS32 Datasheet, PDF (187/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Input/Output (I/O) Ports
Port A
When bit DDRAx is a logic 1, reading address $0000 reads the PTAx
data latch. When bit DDRAx is a logic 0, reading address $0000 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-2 summarizes
the operation of the port A pins.
Table 15-2. Port A Pin Functions
DDRA
Bit
0
PTA
Bit
X
I/O Pin
Mode
Input, Hi-Z
Accesses
to DDRA
Read/Write
DDRA[7:0]
Accesses to PTA
Read
Pin
Write
PTA[7:0](1)
1
X
Output
DDRA[7:0] PTA[7:0]
PTA[7: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
187