MC68HC908AZ32ACFU MOTOROLA [Motorola, Inc], MC68HC908AZ32ACFU Datasheet - Page 389

no-image

MC68HC908AZ32ACFU

Manufacturer Part Number
MC68HC908AZ32ACFU
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908AZ32ACFU
Manufacturer:
FREESCALE
Quantity:
90
Part Number:
MC68HC908AZ32ACFU
Manufacturer:
FREESCALE
Quantity:
90
23.10.2 Data Direction Register H
68HC908AZ32A — Rev 0.0
MOTOROLA
NOTE:
Address:
Data direction register H determines whether each port H pin is an input
or an output. Writing a logic 1 to a DDRH bit enables the output buffer for
the corresponding port H pin; a logic 0 disables the output buffer.
DDRH[1:0] — Data Direction Register H Bits
Avoid glitches on port H pins by writing to the port H data register before
changing data direction register H bits from 0 to 1.
Figure 23-25
Reset:
Read:
Write:
Freescale Semiconductor, Inc.
These read/write bits control port H data direction. Reset clears
DDRG[1:0], configuring all port H pins as inputs.
For More Information On This Product,
1 = Corresponding port H pin configured as output
0 = Corresponding port H pin configured as input
READ DDRH ($000F)
WRITE DDRH ($000F)
WRITE PTH ($000B)
READ PTH ($000B)
$000F
Bit 7
Figure 23-24. Data Direction Register H (DDRH)
R
R
0
0
Go to: www.freescale.com
shows the port H I/O logic.
= Reserved
R
6
0
0
Figure 23-25. Port H I/O Circuit
I/O Ports
RESET
R
5
0
0
DDRHx
R
PTHx
4
0
0
R
3
0
0
R
2
0
0
Advance Information
DDRH1
1
0
I/O Ports
DDRH0
Bit 0
Port H
0
PTHx
389

Related parts for MC68HC908AZ32ACFU