English
Language : 

MC68HC908LJ12 Datasheet, PDF (350/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units
Input/Output (I/O) Ports
17.5 Port C
Port C is an 8-bit special function port that shares all of its port pins with
the liquid crystal display (LCD) driver module.
17.5.1 Port C Data Register (PTC)
The port C data register contains a data latch for each of the eight port C
pins.
Address: $0002
Bit 7
6
5
4
3
2
Read:
PTC7
Write:
PTC6
PTC5
PTC4
PTC3
PTC2
Reset:
Unaffected by reset
Alternative Function: FP26 FP25 FP24 FP23 FP22 FP21
Figure 17-9. Port C Data Register (PTC)
1
PTC1
FP20
Bit 0
PTC0
FP19
PTC[7:0] — Port C Data Bits
These read/write bits are software programmable. Data direction of
each port C pin is under the control of the corresponding bit in data
direction register C. Reset has no effect on port C data.
FP[26:19] — LCD Driver Frontplanes 26–19
FP[26:19] are pins used for the frontplane output of the LCD driver
module. The enable bits, PCEH and PCEL, in the CONFIG2 register,
determine whether the PTC7/FP26–PTC4/FP23 and
PTC3/FP22–PTC0/FP19 pins are LCD frontplane driver pins or
general-purpose I/O pins. See Section 16. Liquid Crystal Display
Driver (LCD).
MC68HC908LJ12 — Rev. 2.1
Freescale Semiconductor
Input/Output (I/O) Ports
Technical Data
351