s908ab32ag0cfue Freescale Semiconductor, Inc, s908ab32ag0cfue Datasheet - Page 321

no-image

s908ab32ag0cfue

Manufacturer Part Number
s908ab32ag0cfue
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908ab32ag0cfueR
Manufacturer:
FREESCALE
Quantity:
20 000
17.5.2 Data Direction Register C (DDRC)
MC68HC908AB32
Freescale Semiconductor
NOTE:
Rev. 1.1
Address:
PTC[5:0] — Port C Data Bits
MCLK — T12 System Clock
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 — T12 System Clock 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.
the port C I/O logic.
Reset:
Read:
Write:
These read/write bits are software programmable. Data direction of
each port C pin is under the control of the corresponding bit in data
direction register C. Reset has no effect on port C data.
The system clock is driven out of the PTC2 pin when MCLKEN is set.
This read/write bit enables MCLK to be an output signal on PTC2 pin.
Reset clears MCLKEN.
These read/write bits control port C data direction. Reset clears
DDRC[5:0], configuring all port C pins as inputs.
1 = PTC2 pin configured as MCLK output
0 = PTC2 pin configured as standard I/O pin
1 = Corresponding port C pin configured as output
0 = Corresponding port C pin configured as input
MCLKEN
$0006
Bit 7
0
Figure 17-9. Data Direction Register B (DDRB)
Input/Output (I/O) Ports
6
0
0
DDRC5
5
0
DDRC4
4
0
DDRC3
3
0
DDRC2
Figure 17-10
2
0
Input/Output (I/O) Ports
DDRC1
1
0
Technical Data
shows
DDRC0
Bit 0
0
321

Related parts for s908ab32ag0cfue