English
Language : 

MC68HC908LJ24 Datasheet, PDF (399/464 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
Port F
When DDRFx is a logic 1, reading address $000A reads the PTFx data
latch. When DDRFx is a logic 0, reading address $000A reads the
voltage level on the pin. The data latch can always be written, regardless
of the state of its data direction bit.
Table 18-7 summarizes the operation of the port F pins.
Table 18-7. Port F Pin Functions
DDRF
Bit
0
PTF Bit
X(1)
I/O Pin Mode
Input, Hi-Z(2)
Accesses to DDRF
Read/Write
DDRF[7:0]
1
X
Output
DDRF[7:0]
Notes:
1. X = don’t care; except.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
Accesses to PTF
Read
Pin
Write
PTF[7:0](3)
PTF[7:0] PTF[7:0]
18.8.3 Port F LED Control Register (LEDF)
Port-F LED control register (LEDF) controls the direct LED drive
capability on PTF7–PTF0 pins. Each bit is individually configurable and
requires that the data direction register, DDRF, bit be configured as an
output.
Address: $000F
Bit 7
6
5
4
3
2
1
Read:
LEDF7
Write:
LEDF6
LEDF5
LEDF4
LEDF3
LEDF2
LEDF1
Reset: 0
0
0
0
0
0
0
Figure 18-23. Port F LED Control Register (LEDF)
Bit 0
LEDF0
0
LEDF[7:0] — Port F LED Drive Enable Bits
These read/write bits are software programmable to enable the direct
LED drive on an output port pin.
1 = Corresponding port F pin is configured for direct LED drive,
with 15mA current sinking capability
0 = Corresponding port F pin is configured for standard drive
MC68HC908LJ24/LK24 — Rev. 2
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
399