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

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
9-ports_a
MOTOROLA
NOTE:
DDRC[7: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
When bit DDRCx is a logic 1, reading address $0002 reads the PCx data
latch. When bit DDRCx is a logic 0, reading address $0002 reads the
voltage level on the pin. The data latch can always be written, regardless
of the state of its data direction bit.
the port C pins.
1. Writing affects data register, but does not affect input.
These read/write bits control port C data direction. Reset clears
DDRC[7:0], configuring all port C pins as inputs.
Data Direction Bit
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Corresponding port C pin configured as output
0 = Corresponding port C pin configured as input
0
1
shows the port C I/O logic.
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PORTC ($0002)
READ PORTC ($0002)
Go to: www.freescale.com
I/O Ports
Table 4. Port C Pin Operation
Figure 10. Port C I/O Circuit
RESET
Input, high-impedance
I/O Pin Mode
Output
Table 4
DDRCx
PCx
summarizes the operation of
Read
Latch
Pin
Access to Data Bit
MC68HC708XL36
Latch
Write
Latch
I/O Ports
(1)
Port C
291
PCx

Related parts for MC68HC708XL36