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

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
I/O Ports
Port C
Port C Data
Register
Data Direction
Register C
MC68HC708XL36
290
Address: $0002
Address: $0006
Port C is an 8-bit, general-purpose bidirectional I/O port.
PORTC contains the data latches for the eight port C pins.
PC[7:0] — Port C Data Bits
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.
Reset:
Reset:
Read:
Write:
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.
Freescale Semiconductor, Inc.
For More Information On This Product,
DDRC7
Bit 7
PC7
Bit 7
0
Figure 9. Data Direction Register C (DDRC)
Go to: www.freescale.com
Figure 8. Port C Data Register (PORTC)
DDRC6
PC6
6
6
0
I/O Ports
DDRC5
PC5
5
5
0
Unaffected by Reset
DDRC4
PC4
4
4
0
DDRC3
PC3
3
3
0
DDRC2
PC2
2
2
0
DDRC
PC1
1
1
0
MOTOROLA
DDRC0
8-ports_a
Bit 0
Bit 0
PC0
0

Related parts for MC68HC708XL36