Datasheet
Input/Output (I/O) Ports
Port F
MC68HC908LJ24/LK24 — Rev. 2.1 Data Sheet
Freescale Semiconductor Input/Output (I/O) Ports 397
18.8 Port F
Port F is an 8-bit general-purpose I/O port.
Port pins PTF0–PTF7 can be configured for direct LED drive.
NOTE: PTF0–PTF7 are not available in the 64-pin packages.
18.8.1 Port F Data Register (PTF)
The port F data register contains a data latch for each of the eight port F
pins.
PTF[7:0] — Port F Data Bits
These read/write bits are software programmable. Data direction of
each port F pin is under the control of the corresponding bit in data
direction register F. Reset has no effect on port F data.
LED drive — Direct LED Drive Pins
PTF0–PTF7 pins can be configured for direct LED drive. See 18.8.3
Port F LED Control Register (LEDF).
Address: $000A
Bit 7654321Bit 0
Read:
PTF7 PTF6 PTF5 PTF4 PTF3 PTF2 PTF1 PTF0
Write:
Reset: Unaffected by Reset
Additional Function: LED drive LED drive LED drive LED drive LED drive LED drive LED drive LED drive
Figure 18-20. Port F Data Register (PTF)
