mc68hc908as60 Freescale Semiconductor, Inc, mc68hc908as60 Datasheet - Page 321

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
20.9.2 Data Direction Register G
MC68HC908AS60 — Rev. 1.0
NOTE:
Address:
PTG[2:0] — Port G Data Bits
Data direction register G (DDRG) determines whether each port G pin is
an input or an output. Writing a logic 1 to a DDRG bit enables the output
buffer for the corresponding port G pin; a logic 0 disables the output
buffer.
DDRG[2:0] — Data Direction Register G Bits
Avoid glitches on port G pins by writing to the port G data register before
changing data direction register G bits from 0 to 1.
Figure 20-22
Reset:
Read:
Write:
These read/write bits are software programmable. Data direction of
each port G pin is under the control of the corresponding bit in data
direction register G. Reset has no effect on PTG[2:0].
These read/write bits control port G data direction. Reset clears
DDRG[2:0], configuring all port G pins as inputs.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Corresponding port G pin configured as output
0 = Corresponding port G pin configured as input
$000E
Bit 7
Figure 20-21. Data Direction Register G (DDRG)
R
R
0
0
Go to: www.freescale.com
shows the port G I/O logic.
Input/Output (I/O) Ports
= Reserved
R
6
0
0
R
5
0
0
R
4
0
0
R
3
0
0
DDRG2
2
0
Input/Output (I/O) Ports
DDRG1
1
0
Technical Data
DDRG0
Port G
Bit 0
0

Related parts for mc68hc908as60