English
Language : 

MC68HC08JB1 Datasheet, PDF (170/216 Pages) Motorola, Inc – Microcontrollers
11.5 Port D
READ DDRC ($0006)
WRITE DDRC ($0006)
RESET
WRITE PTC ($0002)
READ PTC ($0002)
DDRC0
PTC0
PTC0
Figure 11-7. Port C I/O Circuit
When bit DDRC0 is a logic 1, reading address $0002 reads the PTC0
data latch. When bit DDRC0 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. Table 11-3 summarizes
the operation of the PTC0 pin.
Table 11-3. Port C Pin Functions
DDRC
Bit
0
1
PTC Bit
PTC0
PTC0
I/O Pin Mode
Accesses
to DDRC
Read/Write
Input, Hi-Z(1)
DDRC0
Output
DDRC0
Accesses to PTC
Read
Pin
PTC0
Write
PTC0(2)
PTC0
NOTES:
1. Hi-Z = high impedance
2. Writing affects data register, but does not affect input.
Port D is an 1-bit general-purpose bidirectional I/O port. PTD1 and PTD0
internal pads are bonded together to form PTD0/1 pin. This pin is open-
drain when configured as output, and can interface with 5V logic.
Technical Data
170
MC68HC08JB1 — Rev. 2.1
Freescale Semiconductor