MC68HC908GZ8 FREESCALE [Freescale Semiconductor, Inc], MC68HC908GZ8 Datasheet - Page 164

no-image

MC68HC908GZ8

Manufacturer Part Number
MC68HC908GZ8
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908GZ8CFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8MFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8MFJ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC68HC908GZ8MFJ
Quantity:
12
Part Number:
MC68HC908GZ8VFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8VFJ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Input/Output (I/O) Ports
13.5.3 Port C Input Pullup Enable Register
The port C input pullup enable register (PTCPUE) contains a software configurable pullup device for each
of the seven port C pins. Each bit is individually configurable and requires that the data direction register,
DDRC, bit be configured as an input. Each pullup is automatically and dynamically disabled when a port
bit’s DDRC is configured for output mode.
PTCPUE6–PTCPUE0 — Port C Input Pullup Enable Bits
13.6 Port D
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 the two timer interface (TIM1 and TIM2) modules. Port D also has software
configurable pullup devices if configured as an input port.
13.6.1 Port D Data Register
The port D data register (PTD) contains a data latch for each of the eight port D pins.
PTD7–PTD0 — Port D Data Bits
T2CH1 and T2CH0 — Timer 2 Channel I/O Bits
164
These writable bits are software programmable to enable pullup devices on an input port bit.
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
1 = Corresponding port C pin configured to have internal pullup
0 = Corresponding port C pin internal pullup disconnected
Alternative
Address:
Function:
Address:
Reset:
Read:
Write:
Reset:
Read:
Write:
Figure 13-12. Port C Input Pullup Enable Register (PTCPUE)
$000E
T2CH1
Bit 7
$0003
PTD7
Bit 7
0
0
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
= Unimplemented
PTCPUE6
Figure 13-13. Port D Data Register (PTD)
T2CH0
PTD6
6
0
6
PTCPUE5
T1CH1
PTD5
5
0
5
Chapter 19 Timer Interface Module
PTCPUE4
T1CH0
Unaffected by reset
PTD4
4
0
4
PTCPUE3
SPSCK
PTD3
3
0
3
PTCPUE2
PTD2
MOSI
2
2
0
PTCPUE1
PTD1
MISO
1
1
0
(TIM).
Freescale Semiconductor
PTCPUE0
PTD0
Bit 0
Bit 0
SS
0

Related parts for MC68HC908GZ8