s908az32ag2cfue Freescale Semiconductor, Inc, s908az32ag2cfue Datasheet - Page 245

no-image

s908az32ag2cfue

Manufacturer Part Number
s908az32ag2cfue
Description
M68hc08 Microcontrollers 8-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
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.
Freescale Semiconductor
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
DDRA
Bit
0
1
READ DDRA ($0004)
WRITE DDRA ($0004)
WRITE PTA ($0000)
READ PTA ($0000)
PTA
Bit
X
X
Table 23-1. Port A Pin Functions
RESET
MC68HC908AZ32A Data Sheet, Rev. 2
Figure 23-4. Port A I/O Circuit
I/O Pin Mode
Input, Hi-Z
Output
Table 23-1
DDRAx
PTAx
Accesses to
Read/Write
DDRA[7:0]
DDRA[7:0]
DDRA
summarizes the operation of the port A pins.
PTA[7:0]
Read
Pin
Accesses to PTA
PTA[7:0]
PTA[7:0]
Write
PTAx
(1)
Port A
245

Related parts for s908az32ag2cfue