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

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
Input/Output (I/O) Ports
$000B
$000C
$0000
$0001
$0004
$0005
Addr.
12.3 Port A
162
MC68HC908QY4•MC68HC908QT4•MC68HC908QY2•MC68HC908QT2•MC68HC908QY1•MC68HC908QT1
Data Direction Register A
Data Direction Register B
Register Name
Port A Data Register
Port B Data Register
Port A Input Pullup
Port B Input Pullup
Enable Register
Enable Register
NOTE:
See page 163.
See page 167.
See page 164.
See page 168.
See page 166.
See page 169.
(PTAPUE)
(PTBPUE)
(DDRA)
(DDRB)
(PTA)
(PTB)
Port A is an 6-bit special function port that shares all six of its pins with
the keyboard interrupt (KBI) module (see
Interrupt Module
configurable pullup device if the corresponding port pin is configured as
an input port.
PTA2 is input only.
When the IRQ function is enabled in the configuration register 2
(CONFIG2), bit 2 of the port A data register (PTA) will always read a
logic 0. In this case, the BIH and BIL instructions can be used to read the
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Figure 12-1. I/O Port Register Summary
PTBPUE7 PTBPUE6 PTBPUE5 PTBPUE4 PTBPUE3 PTBPUE2 PTBPUE1 PTBPUE0
OSC2EN
DDRB7
PTB7
Bit 7
0
0
0
0
0
0
Input/Output (I/O) Ports
= Unimplemented
DDRB6
AWUL
PTB6
6
0
0
0
0
0
(KBI)). Each port A pin also has a software
PTAPUE5 PTAPUE4 PTAPUE3 PTAPUE2 PTAPUE1 PTAPUE0
DDRA5
DDRB5
PTA5
PTB5
5
0
0
0
0
Unaffected by reset
Unaffected by reset
DDRA4
DDRB4
PTA4
PTB4
4
0
0
0
0
DDRA3
DDRB3
PTA3
PTB3
Section 14. Keyboard
3
0
0
0
0
DDRB2
PTA2
PTB2
2
0
0
0
0
0
DDRA1
DDRB1
PTA1
PTB1
1
0
0
0
0
MOTOROLA
DDRA0
DDRB0
PTA0
PTB0
Bit 0
0
0
0
0

Related parts for MC68HC908QY2