mc68hc908lj24 Freescale Semiconductor, Inc, mc68hc908lj24 Datasheet - Page 389

no-image

mc68hc908lj24

Manufacturer Part Number
mc68hc908lj24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908LJ24
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
mc68hc908lj24CFQ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908lj24CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908lj24CFU
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908lj24CPB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908lj24CPB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908lj24CPK
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908lj24CPK
Manufacturer:
FRE/MOT
Quantity:
20 000
18.5.3 Port C LED Control Register (LEDC)
MC68HC908LJ24/LK24 — Rev. 2.1
Freescale Semiconductor
Address:
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 18-4
Port-C LED control register (LEDC) controls the direct LED drive
capability on PTC7–PTC0 pins. Each bit is individually configurable and
requires that the data direction register, DDRC, bit be configured as an
output.
LEDC[7:0] — Port C LED Drive Enable Bits
Notes:
Reset:
1. X = don’t care.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
Read:
Write:
DDRC
These read/write bits are software programmable to enable the direct
LED drive on an output port pin.
Bit
0
1
1 = Corresponding port C pin is configured for direct LED drive,
0 = Corresponding port C pin is configured for standard drive
LEDC7
$000D
Figure 18-12. Port C LED Control Register (LEDC)
Bit 7
PTC Bit
with 15mA current sinking capability
0
X
summarizes the operation of the port C pins.
X
(1)
Input/Output (I/O) Ports
LEDC6
6
0
Table 18-4. Port C Pin Functions
Input, Hi-Z
I/O Pin Mode
Output
LEDC5
5
0
(2)
Accesses to DDRC
LEDC4
4
0
DDRC[7:0]
DDRC[7:0]
Read/Write
LEDC3
3
0
LEDC2
PTC[7:0]
2
0
Input/Output (I/O) Ports
Read
Pin
Accesses to PTC
LEDC1
1
0
PTC[7:0]
PTC[7:0]
Data Sheet
Write
LEDC0
Bit 0
Port C
0
(3)
389

Related parts for mc68hc908lj24