mc68hc908gp20 Freescale Semiconductor, Inc, mc68hc908gp20 Datasheet - Page 236

no-image

mc68hc908gp20

Manufacturer Part Number
mc68hc908gp20
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908gp20CFB
Manufacturer:
FREESCALE
Quantity:
1 831
16.6 Port D
16.6.1 Port D Data Register
Advance Information
236
NOTE:
Function:
Alternate
Address:
Port D is an 8-bit special-function port that shares four of its pins with the
serial peripheral interface (SPI) module and four of its pins with two timer
interface (TIM1 and TIM2) modules. Port D also has software
configurable pullup devices if configured as an input port.
The port D data register (PTD) contains a data latch for each of the eight
port D pins.
Bit 7 and bit 6 of PTD are not available in a 40-pin dual in-line
package.
PTD7–PTD0 — Port D Data Bits
T2CH1 and T2CH0 — Timer 2 Channel I/O Bits
Reset:
Read:
Write:
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.
The PTD7/T2CH1–PTD6/T2CH0 pins are the TIM2 input
capture/output compare pins. The edge/level select bits,
ELSxB:ELSxA, determine whether the PTD7/T2CH1–PTD6/T2CH0
pins are timer channel I/O pins or general-purpose I/O pins. See
Section 22. Timer Interface Module
T2CH1
$0003
PTD7
Bit 7
Figure 16-13. Port D Data Register (PTD)
T2CH0
PTD6
6
T1CH1
PTD5
5
Unaffected by reset
T1CH0
PTD4
4
(TIM).
SPSCK
PTD3
3
MC68HC908GP20
PTD2
MOSI
Freescale Semiconductor
2
PTD1
MISO
1
Rev 2.1
PTD0
Bit 0
SS

Related parts for mc68hc908gp20