MC68HC08AZ60CFU MOTOROLA [Motorola, Inc], MC68HC08AZ60CFU Datasheet - Page 287

no-image

MC68HC08AZ60CFU

Manufacturer Part Number
MC68HC08AZ60CFU
Description
Advance Information
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Data Direction
Register C
9-ioports
MOTOROLA
NOTE:
Address:
Data direction register C determines whether each port C pin is an input
or an output. Writing a logic 1 to a DDRC bit enables the output buffer
for the corresponding port C pin; a logic 0 disables the output buffer.
MCLKEN — MCLK Enable Bit
DDRC[5:0] — Data Direction Register C Bits
Avoid glitches on port C pins by writing to the port C data register before
changing data direction register C bits from 0 to 1.
Figure 10
Reset:
Read:
Write:
Freescale Semiconductor, Inc.
This read/write bit enables MCLK to be an output signal on PTC2. If
MCLK is enabled, DDRC2 has no effect. Reset clears this bit.
These read/write bits control port C data direction. Reset clears
DDRC[7:0], configuring all port C pins as inputs.
For More Information On This Product,
1 = MCLK output enabled
0 = MCLK output disabled
1 = Corresponding port C pin configured as output
0 = Corresponding port C pin configured as input
MCLKEN
$0006
Bit 7
R
0
shows the port C I/O logic.
Figure 9. Data Direction Register C (DDRC)
Go to: www.freescale.com
= Reserved
R
6
0
0
I/O Ports
DDRC5
5
0
DDRC4
4
0
DDRC3
3
0
MC68HC08AZ60 — Rev 1.0
DDRC2
2
0
DDRC1
1
0
I/O Ports
DDRC0
Bit 0
Port C
0
287

Related parts for MC68HC08AZ60CFU