MC68HC708AS48 FREESCALE [Freescale Semiconductor, Inc], MC68HC708AS48 Datasheet - Page 197

no-image

MC68HC708AS48

Manufacturer Part Number
MC68HC708AS48
Description
Advance Information
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
15.6 Port D
15.6.1 Port D Data Register
MC68HC708AS48
MOTOROLA
NOTE:
Rev. 4.0
Functions:
Alternate
Address:
Port D is an 8-bit special function I/O port that shares all of its pins with
the analog-to-digital converter (ADC).
PTD2/ATD10 is an input-only port pin
The port D data register contains a data latch for seven of the eight port
D pins. Writes to PTD2 are not latched since it is an input-only port bit.
PTD[7:3, 1:0] — Port D Data Bits
ATD[15:8] — ADC Channel Status Bits
Reset:
Read:
Write:
PTD[7:3, 1:0] are read/write, software programmable bits. Data
direction of PTD[7:3, 1:0] pins are under the control of the
corresponding bit in data direction register D.
PTD7/ATD15–PTD0/ATD8 are eight of the analog-to-digital converter
channels. The ADC channel select bits, CH[4:0], determine whether
the PTD7/ATD15–PTD0/ATD8 pins are ADC channels or
general-purpose I/O pins. If an ADC channel is selected and a read of
this corresponding bit in the port B data register occurs, the data will
ATD15
$0003
PTD7
Bit 7
R
Figure 15-11. Port D Data Register (PTD)
Input/Output (I/O) Ports
= Reserved
ATD14/
PTD6
TCLK
6
ATD13
PTD5
5
Unaffected by Reset
ATD12
PTD4
4
ATD11
PTD3
3
ATD10
PTD2
R
2
Input/Output (I/O) Ports
Advance Information
PTD1
ATD9
1
PTD0
ATD8
Bit 0
Port D
197

Related parts for MC68HC708AS48