mc68hc908sr12 Freescale Semiconductor, Inc, mc68hc908sr12 Datasheet - Page 330

no-image

mc68hc908sr12

Manufacturer Part Number
mc68hc908sr12
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908sr12CB
Manufacturer:
TI/NSC
Quantity:
340
Part Number:
mc68hc908sr12CB
Manufacturer:
MOT
Quantity:
2 313
Part Number:
mc68hc908sr12CB
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Company:
Part Number:
mc68hc908sr12CB
Quantity:
1
Company:
Part Number:
mc68hc908sr12CB
Quantity:
7 840
Part Number:
mc68hc908sr12CFA
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Input/Output (I/O) Ports
18.5.3 Port C LED Control Register (LEDC)
Data Sheet
330
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-6
The port-C LED control register (LEDC) controls the direct LED drive
capability on PTC7–PTC3 pins. Each bit is individually configurable and
requires that the data direction register, DDRD, bit be configured as an
output.
LEDC[7:3] — 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 configured for direct LED drive
0 = Corresponding port C pin configured for standard drive
LEDC7
$000D
Figure 18-12. Port A LED Control Register (LEDA)
Bit 7
PTC Bit
0
X
summarizes the operation of the port C pins.
X
(1)
Input/Output (I/O) Ports
LEDC6
6
0
Table 18-6. Port C Pin Functions
Input, Hi-Z
I/O Pin Mode
Output
LEDC5
5
0
(2)
MC68HC908SR12•MC68HC08SR12 — Rev. 5.0
Accesses to DDRC
LEDC4
4
0
DDRC[7:0]
DDRC[7:0]
Read/Write
LEDC3
3
0
Freescale Semiconductor
PTC[7:0]
2
0
0
Read
Pin
Accesses to PTC
1
0
0
PTC[7:0]
PTC[7:0]
Write
Bit 0
0
0
(3)

Related parts for mc68hc908sr12