English
Language : 

MC68HC908LJ12 Datasheet, PDF (352/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units
Input/Output (I/O) Ports
When DDRCx is a logic 1, reading address $0002 reads the PTCx data
latch. When 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.
Table 17-4 summarizes the operation of the port C pins.
Table 17-4. Port C Pin Functions
DDRC
Bit
0
PTC Bit
X(1)
I/O Pin Mode
Input, Hi-Z(2)
Accesses to DDRC
Read/Write
DDRC[7:0]
1
X
Output
DDRC[7:0]
Notes:
1. X = don’t care; except PTC2.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
Accesses to PTC
Read
Pin
Write
PTC[7:0](3)
PTC[7:0] PTC[7:0]
MC68HC908LJ12 — Rev. 2.1
Freescale Semiconductor
Input/Output (I/O) Ports
Technical Data
353