MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 301

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Data Direction
Register G
19-ports_a
MOTOROLA
NOTE:
Address: $000E
PG[3:0] — Port G Data Bits
Data direction register G 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[3: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 22
Reset:
Read:
Write:
These read/write bits are software-programmable. Data direction of
each bit is under the control of the corresponding bit in data direction
register G. Reset has no effect on port G data.
These read/write bits control port G data direction. Reset clears
DDRG[3: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
Bit 7
0
0
shows the port G I/O logic.
Figure 21. Data Direction Register G (DDRG)
Go to: www.freescale.com
= Unimplemented
6
0
0
I/O Ports
5
0
0
4
0
0
DDRG3
3
0
DDRG2
2
0
MC68HC708XL36
DDRG1
1
0
I/O Ports
DDRG0
Bit 0
Port G
0
301

Related parts for MC68HC708XL36