mc68hc908jb8 Freescale Semiconductor, Inc, mc68hc908jb8 Datasheet - Page 211

no-image

mc68hc908jb8

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908JB8
Manufacturer:
FREESCALE
Quantity:
6
Part Number:
mc68hc908jb8ADW
Manufacturer:
MOT
Quantity:
9 330
Part Number:
mc68hc908jb8ADW
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908jb8ADW 3K45H
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908jb8ADWE
Manufacturer:
FREESCALE
Quantity:
50
Part Number:
mc68hc908jb8FB
Manufacturer:
MOTOROLA
Quantity:
325
Part Number:
mc68hc908jb8FB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908jb8JDW
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908jb8JDWE
Manufacturer:
VISHAY
Quantity:
6 700
Part Number:
mc68hc908jb8JDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908jb8JP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
12.6.2 Data Direction Register D
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3
Freescale Semiconductor
NOTE:
NOTE:
Address:
Data direction register D determines whether each port D pin is an input
or an output. Writing a logic 1 to a DDRD bit enables the output buffer for
the corresponding port D pin; a logic 0 disables the output buffer.
DDRD[7:0] — Data Direction Register D Bits
Avoid glitches on port D pins by writing to the port D data register before
changing data direction register D bits from 0 to 1.
For those devices packaged in a 20-pin PDIP and 20-pin SOIC package,
PTD7–PTD2 are not connected. DDRD7–DDRD2 should be set to a 1 to
configure PTD7–PTD2 as outputs.
For those devices packaged in a 28-pin SOIC package, PTD7 is not
connected. DDRD7 should be set to a 1 to configure PTD7 as output.
Figure 12-13
Reset:
Read:
Write:
These read/write bits control port D data direction. Reset clears
DDRD[7:0], configuring all port D pins as inputs.
Port D pins are open-drain when configured as output.
1 = Corresponding port D pin configured as output
0 = Corresponding port D pin configured as input
DDRD7
$0007
Bit 7
Figure 12-12. Data Direction Register D (DDRD)
0
shows the port D I/O circuit logic.
Input/Output Ports (I/O)
DDRD6
6
0
DDRD5
0
5
DDRD4
0
4
DDRD3
3
0
DDRD2
2
0
Input/Output Ports (I/O)
DDRD1
1
0
Technical Data
DDRD0
Bit 0
Port D
0
211

Related parts for mc68hc908jb8