English
Language : 

MC68HC08AB16A Datasheet, PDF (315/380 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
Port D
17.6 Port D
Port D is an 8-bit special function port that shares two of its pins with the
timer interface module (see Section 11. Timer Interface Module A
(TIMA) and Section 12. Timer Interface Module B (TIMB)). Each
port D pin has 15mA current drive (sink) and programmable pullup.
17.6.1 Port D Data Register (PTD)
The port D data register contains a data latch for each of the eight port D
pins.
Address: $0003
Bit 7
6
5
4
3
2
1
Bit 0
Read:
PTD7
Write:
PTD6
PTD5
PTD4
PTD3
PTD2
PTD1
PTD0
Reset:
Unaffected by reset
Alternative Function:
TACLK
TBCLK
Additional Functions: 15mA sink 15mA sink 15mA sink 15mA sink 15mA sink 15mA sink 15mA sink 15mA sink
Input pullup Input pullup Input pullup Input pullup Input pullup Input pullup Input pullup Input pullup
Figure 17-11. Port D Data Register (PTD)
PTD[7:0] — Port D Data Bits
These read/write bits are software programmable. Data direction of
each port D pin is under the control of the corresponding bit in data
direction register D. Reset has no effect on port D data.
TACLK — Timer A Clock Input
The PTD6 pin becomes TACLK, the timer A (TIMA) external clock
input when the TIMA prescaler select bits, PS[2:0] = 111. See
Section 11. Timer Interface Module A (TIMA).
TBCLK — Timer B Clock Input
The PTD4 pin becomes TBCLK, the timer B (TIMB) external clock
input when the TIMB prescaler select bits, PS[2:0] = 111. See
Section 12. Timer Interface Module B (TIMB).
MC68HC08AB16A — Rev. 2.0
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Technical Data
315