English
Language : 

MC68HC908LJ24 Datasheet, PDF (387/464 Pages) Motorola, Inc – Microcontrollers
18.5 Port C
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
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.
Port pins PTC0–PTC7 can be configured for direct LED drive.
18.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
1
Bit 0
Read:
PTC7
Write:
PTC6
PTC5
PTC4
PTC3
PTC2
PTC1
PTC0
Reset:
Unaffected by reset
Alternative Function: FP26 FP25 FP24 FP23 FP22 FP21 FP20 FP19
Additional Function: LED drive LED drive LED drive LED drive LED drive LED drive LED drive LED drive
Figure 18-9. Port C Data Register (PTC)
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 17. Liquid Crystal Display
(LCD) Driver.
LED drive — Direct LED Drive Pins
PTC0–PTC7 pins can be configured for direct LED drive. See 18.5.3
Port C LED Control Register (LEDC).
MC68HC908LJ24/LK24 — Rev. 2
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
387