MC68HC908AS60MFN MOTOROLA [Motorola, Inc], MC68HC908AS60MFN Datasheet - Page 324

no-image

MC68HC908AS60MFN

Manufacturer Part Number
MC68HC908AS60MFN
Description
HCMOS Microcontroller Unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Input/Output (I/O) Ports
20.10.2 Data Direction Register H
Technical Data
324
NOTE:
Address:
Data direction register H (DDRH) 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 20-25
Reset:
Read:
Write:
These read/write bits control port H data direction. Reset clears
DDRG[1:0], configuring all port H pins as inputs.
Freescale Semiconductor, Inc.
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 20-24. Data Direction Register H (DDRH)
R
R
0
0
Go to: www.freescale.com
shows the port H I/O logic.
Input/Output (I/O) Ports
= Reserved
R
6
0
0
Figure 20-25. Port H I/O Circuit
RESET
R
5
0
0
DDRHx
PTHx
R
4
0
0
R
3
0
0
MC68HC908AS60 — Rev. 1.0
R
2
0
0
DDRH1
1
0
MOTOROLA
DDRH0
Bit 0
0
PTHx

Related parts for MC68HC908AS60MFN