English
Language : 

MC68HC908GZ8 Datasheet, PDF (209/344 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
Port C
Table 17-4. Port C Pin Functions
PTCPUE
Bit
DDRC
Bit
PTC
Bit
I/O Pin
Mode
1
0
X(1)
Input, VDD(2)
0
0
X
Input, Hi-Z(4)
X
1
X
Output
1. X = Don’t care
2. I/O pin pulled up to VDD by internal pullup device.
3. Writing affects data register, but does not affect input.
4. Hi-Z = High impedance
Accesses
to DDRC
Read/Write
DDRC6–DDRC0
DDRC6–DDRC0
DDRC6–DDRC0
Accesses
to PTC
Read
Write
Pin
PTC6–PTC0(3)
Pin
PTC6–PTC0(3)
PTC6–PTC0
PTC6–PTC0
17.4.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.
Address: $000E
Bit 7
6
5
4
3
2
1
Bit 0
Read: 0
Write:
PTCPUE6 PTCPUE5 PTCPUE4 PTCPUE3 PTCPUE2 PTCPUE1 PTCPUE0
Reset: 0
0
0
0
0
0
0
0
= Unimplemented
Figure 17-12. Port C Input Pullup Enable Register (PTCPUE)
PTCPUE6–PTCPUE0 — Port C Input Pullup Enable Bits
These writable bits are software programmable to enable pullup devices on an
input port bit.
1 = Corresponding port C pin configured to have internal pullup
0 = Corresponding port C pin internal pullup disconnected
MC68HC908GZ8
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
209