MC68HC908QY2 MOTOROLA [Motorola, Inc], MC68HC908QY2 Datasheet - Page 167

no-image

MC68HC908QY2

Manufacturer Part Number
MC68HC908QY2
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC68HC908QY2CDT
Quantity:
2 667
Company:
Part Number:
MC68HC908QY2CDT
Quantity:
2 667
Part Number:
MC68HC908QY2CPE
Manufacturer:
FREESCALE
Quantity:
7 762
Part Number:
MC68HC908QY2MDTE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
MC68HC908QY2MDTE
Manufacturer:
Freescale
Quantity:
204
Part Number:
MC68HC908QY2MDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC68HC908QY2MP
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC68HC908QY2MPE
Manufacturer:
Freescale
Quantity:
2 304
Part Number:
MC68HC908QY2VPE
Manufacturer:
Freescale Semiconductor
Quantity:
135
12.4 Port B
12.4.1 Port B Data Register
MOTOROLA
1. X = don’t care
2. I/O pin pulled to V
3. Writing affects data register, but does not affect input.
4. Hi-Z = high impedance
5. Output does not apply to PTA2
PTAPUE
MC68HC908QY4•MC68HC908QT4•MC68HC908QY2•MC68HC908QT2•MC68HC908QY1•MC68HC908QT1
Bit
X
1
0
DDRA
Bit
0
0
1
DD
by internal pullup.
PTA
X
Bit
Address: $0001
X
X
(1)
Port B is an 8-bit general purpose I/O port. Port B is only available on the
MC68HC908QY1, MC68HC908QY2, and MC68HC908QY4.
The port B data register (PTB) contains a data latch for each of the eight
port B pins.
PTB[7:0] — Port B Data Bits
Reset:
Read:
Write:
These read/write bits are software programmable. Data direction of
each port B pin is under the control of the corresponding bit in data
direction register B. Reset has no effect on port B data.
Input, Hi-Z
Input, V
Table 12-1. Port A Pin Functions
PTB7
I/O Pin
Output
Bit 7
Mode
Figure 12-6. Port B Data Register (PTB)
DD
Input/Output (I/O) Ports
(2)
(4)
PTB6
6
Accesses to DDRA
DDRA5–DDRA0
DDRA5–DDRA0
DDRA5–DDRA0
PTB5
Read/Write
5
Unaffected by reset
PTB4
4
PTB3
3
PTA5–PTA0
Read
Pin
Pin
Accesses to PTA
PTB2
2
Input/Output (I/O) Ports
PTB1
PTA5–PTA0
PTA5–PTA0
PTA5–PTA0
1
Write
PTB0
Bit 0
Port B
(3)
(3)
(5)
167

Related parts for MC68HC908QY2