English
Language : 

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