XC908AS60ACFU Motorola Semiconductor Products, XC908AS60ACFU Datasheet - Page 361

no-image

XC908AS60ACFU

Manufacturer Part Number
XC908AS60ACFU
Description
MC68HC908AZ60A, MC68HC908AS60A Hcmos Microcontroller Unit Technical Data
Manufacturer
Motorola Semiconductor Products
Datasheet
22.5.2 Data Direction Register C
MC68HC908AZ60A — Rev 2.0
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 22-10
Reset:
Read:
Write:
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.
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
Figure 22-9. Data Direction Register C (DDRC)
shows the port C I/O logic.
= Reserved
Input/Output Ports
R
6
0
0
DDRC5
5
0
DDRC4
4
0
DDRC3
3
0
DDRC2
2
0
Input/Output Ports
DDRC1
1
0
Technical Data
DDRC0
Bit 0
Port C
0
361

Related parts for XC908AS60ACFU