Datasheet

MC68HC908QY4MC68HC908QT4MC68HC908QY2MC68HC908QT2MC68HC908QY1MC68HC908QT1
170 Input/Output (I/O) Ports MOTOROLA
Input/Output (I/O) Ports
NON-DISCLOSURE AGREEMENT REQUIRED
PTBPUE[7:0] Port B Input Pullup Enable Bits
These read/write bits are software programmable to enable pullup
devices on port B pins
1 = Corresponding port B pin configured to have internal pull if its
DDRB bit is set to 0
0 = Pullup device is disconnected on the corresponding port B pin
regardless of the state of its DDRB bit.
Table 12-3 summarizes the operation of the port B pins.
Table 12-3. Port B Pin Functions
PTBPUE
Bit
DDRB
Bit
PTB
Bit
I/O Pin
Mode
Accesses to DDRB Accesses to PTB
Read/Write Read Write
10
X
(1)
Input, V
DD
(2)
DDRB7DDRB0 Pin
PTB7PTB0
(3)
00X
Input, Hi-Z
(4)
DDRB7DDRB0 Pin
PTB7PTB0
(3)
X 1 X Output DDRB7DDRB0 PTB7PTB0 PTB7PTB0
1. X = dont care
2. I/O pin pulled to V
DD
by internal pullup.
3. Writing affects data register, but does not affect input.
4. Hi-Z = high impedance