mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 303

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
19.5 Port C
19.5.1 Port C Data Register
MC68HC908LD64
Freescale Semiconductor
Alternative Function:
Rev. 3.0
Address:
Port C is an 7-bit special-function port that shares six of its pins with the
analog-to-digital converter (ADC) module. (See
Digital Converter
The port C data register (PTC) contains a data latch for each of the
seven port C pins.
PTC[6:0] — Port C Data Bits
ADC[5:0] — Analog-to-Digital Input Pins
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.
ADC[5:0] are pins used for the input channels to the analog-to-digital
converter module. The channel select bits, ADCH[4:0], in the
Status and Control Register
an ADC input and overrides any control from the port I/O logic. (See
19.5.3 Port C Options
Converter
$0002
Bit 7
Figure 19-10. Port C Data Register (PTC)
0
(ADC).)
Input/Output (I/O) Ports
= Unimplemented
PTC6
6
(ADC).)
ADC5
PTC5
5
and
Section 13. Analog-to-Digital
Unaffected by reset
PTC4
ADC4
define which port C pin will be used as
4
ADC3
PTC3
3
Section 13. Analog-to-
ADC2
PTC2
2
Input/Output (I/O) Ports
ADC1
PTC1
1
Data Sheet
ADC
ADC0
PTC0
Bit 0
Port C
303

Related parts for mc68hc908ld64