Input/Output (I/O) Ports
Port D
MC68HC908AB32
—
Rev. 1.0
Technical Data
MOTOROLA
Input/Output (I/O) Ports
323
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
Section 12. Timer Interface Module B (TIMB)
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.
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)
Address:
$0003
Bit 7
6
5
4
3
2
1
Bit 0
Read:
PTD7
PTD6
PTD5
PTD4
PTD3
PTD2
PTD1
PTD0
Write:
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)
Summary of Contents for MC68HC908AB32
Page 1: ...MC68HC908AB32 D REV 1 0 MC68HC908AB32 HCMOS Microcontroller Unit TECHNICAL DATA ...
Page 2: ......
Page 68: ...FLASH Memory Technical Data MC68HC908AB32 Rev 1 0 68 FLASH Memory MOTOROLA ...
Page 84: ...EEPROM Technical Data MC68HC908AB32 Rev 1 0 84 EEPROM MOTOROLA ...
Page 390: ...Ordering Information Technical Data MC68HC908AB32 Rev 1 0 390 Ordering Information MOTOROLA ...
Page 391: ......