MC68HC05P9ACDW FREESCALE [Freescale Semiconductor, Inc], MC68HC05P9ACDW Datasheet - Page 73

no-image

MC68HC05P9ACDW

Manufacturer Part Number
MC68HC05P9ACDW
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Port C
Port C Data
Register (PORTC)
13-mc68hc05p9a
MOTOROLA
Function:
Alternate
Port C is an 8-bit I/O port that shares five of its pins with the A/D
converter (ADC). The five shared pins are available for general-purpose
I/O functions when the ADC is disabled.
The port C data register contains a latch for each of the eight port C pins.
PC[7:0] — Port C Data Bits
V
AN[3:0] — Analog Input Bits
Reset:
$0002
Read:
Write:
RH
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.
When the ADC is turned on, the PC7/V
and is the positive ADC reference voltage.
When the ADC is turned on, the AN0–AN3 pin that is selected as the
analog input is configured as an input. Unused analog inputs can be
used as digital inputs, but pins PC3/AN3, PC4/AN2, PC5/AN1, and
PC6/AN0 cannot be used as digital outputs while the ADC is on. Only
pins PC0, PC1, and PC2 can be used as digital outputs when the
ADC is on.
Freescale Semiconductor, Inc.
— Voltage Reference High Bit
For More Information On This Product,
Bit 7
PC7
V
Figure 35. Port C Data Register (PORTC)
RH
Go to: www.freescale.com
Parallel I/O Ports
PC6
AN0
6
PC5
AN1
5
Unaffected by reset
PC4
AN2
4
RH
PC3
AN3
3
pin is configured as an input
PC2
2
Parallel I/O Ports
PC1
1
Bit 0
PC0
Port C
73

Related parts for MC68HC05P9ACDW