MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 349

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Input/Output (I/O) Ports
17.4.3 Port B LED Control Register (LEDB)
Technical Data
350
Address:
Table 17-3
The port-B LED control register (LEDB) controls the direct LED drive
capability on PTB5–PTB0 pins. Each bit is individually configurable and
requires that the data direction register, DDRB, bit be configured as an
output.
When the IRSCI is enabled, setting the LEDB0 bit also enables high
current (15mA) sink capability for the TxD pin.
LEDB[5:0] — Port B 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:
DDRB
Write:
These read/write bits are software programmable to enable the direct
LED drive on an output port pin.
Bit
0
1
1 = Corresponding port B pin configured for direct LED drive:
0 = Corresponding port B pin configured for standard drive
$000C
Bit 7
Figure 17-8. Port B LED Control Register (LEDB)
PTB Bit
15mA current sinking capability on PTB[1:0], and
8mA current sinking capability on PTB[5:2]
0
0
X
summarizes the operation of the port B pins.
X
(1)
Input/Output (I/O) Ports
6
0
0
Table 17-3. Port B Pin Functions
Input, Hi-Z
I/O Pin Mode
Output
LEDB5
5
0
(2)
Accesses to DDRB
LEDB4
4
0
DDRB[7:0]
DDRB[7:0]
Read/Write
LEDB3
3
0
MC68HC908LJ12
LEDB2
Freescale Semiconductor
PTB[7:0]
2
0
Read
Pin
Accesses to PTB
LEDB1
1
0
PTB[7:0]
PTB[7:0]
Write
Rev. 2.1
LEDB0
Bit 0
0
(3)

Related parts for MC68HC908LJ12CPB