mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 197

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MC68HC08QA24
Freescale Semiconductor
When bit DDRCx is a logic 1, reading address $0002 reads the PTCx
data latch. When bit DDRCx is a logic 0, reading address $0002 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 C pins.
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
DDRC
[7] = 0
[7] = 1
Bit
0
1
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PTC ($0002)
READ PTC ($0002)
PTC2
PTC2
PTC
Bit
X
X
Input/Output (I/O) Ports
Output, MCLK
Table 16-3. Port C Pin Functions
Input, Hi-Z
Input, Hi-Z
Figure 16-10. Port C I/O Circuit
RESET
I/O Pin
Output
Mode
Read/Write
DDRC[4:0]
DDRC[4:0]
Accesses
to DDRC
DDRCx
DDRC[7]
DDRC[7]
PTCx
Data Latch
PTC[4:0]
Table 16-3
Read
Pin
0
Input/Output (I/O) Ports
Accesses
to PTC
PTC[4:3,1:0]
summarizes
PTC[4:3,1:0]
Technical Data
Write
PTC2
PTCx
195
(1)

Related parts for mc68hc08qa24