mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 305

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
19.5.3 Port C Options
MC68HC908LD64
Freescale Semiconductor
Rev. 3.0
When bit DDRCx is a logic 1, reading address $0002 reads the PTCx
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 operation of the port C pins.
The ADCH[4:0] bits in the
which PTCx/ADCx pin is used as an ADC input and overrides any control
from the port I/O logic by forcing that pin as the input to the analog
circuitry. (See
Notes:
1. X = don’t care.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
DDRC
Bit
0
1
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PTC ($0002)
READ PTC ($0002)
PTC Bit
X
X
(1)
Input/Output (I/O) Ports
Section 13. Analog-to-Digital Converter
Table 19-4. Port C Pin Functions
Input, Hi-Z
I/O Pin Mode
Figure 19-12. Port C I/O Circuit
RESET
Output
ADC Status and Control Register
(2)
Accesses to DDRC
DDRCx
PTCx
DDRC[6:0]
DDRC[6:0]
Read/Write
Table 19-4
PTC[6:0]
Input/Output (I/O) Ports
Read
Pin
Accesses to PTC
(ADC).)
summarizes
PTC[6:0]
PTC[6:0]
Data Sheet
defines
Write
Port C
PTCx
(3)
305

Related parts for mc68hc908ld64