mc68hc908as60 Freescale Semiconductor, Inc, mc68hc908as60 Datasheet - Page 324

no-image

mc68hc908as60

Manufacturer Part Number
mc68hc908as60
Description
Mc68hc908as60 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908AS60
Manufacturer:
MOT
Quantity:
5 510
Part Number:
MC68HC908AS60
Manufacturer:
MHS
Quantity:
5 510
Company:
Part Number:
mc68hc908as60ACFU
Quantity:
420
Part Number:
mc68hc908as60ACFV
Manufacturer:
MOTOROLA
Quantity:
1 000
Part Number:
mc68hc908as60AVFU
Manufacturer:
MOTOROLA
Quantity:
547
Part Number:
mc68hc908as60CFN
Manufacturer:
MOT
Quantity:
5 510
Part Number:
mc68hc908as60CFN
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908as60VFN
Manufacturer:
MOT
Quantity:
20 000
Input/Output (I/O) Ports
20.10.2 Data Direction Register H
Technical Data
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
DDRH0
Bit 0
0
PTHx

Related parts for mc68hc908as60