English
Language : 

MC68HC11EA9 Datasheet, PDF (30/58 Pages) Motorola, Inc – 8 BIT HCMOS SINGLE CHIP MICROCONTOROLLER WITH A/D CONVERTER
Freescale Semiconductor, Inc.
PORTD — Port D Data
$1008
BIT 7
6
5
4
3
2
1
BIT 0
XPIN
IPIN
—
—
—
—
PD1
PD0
RESET:
0
0
0
0
0
0
0
0
Alt. Pin
—
—
—
—
—
—
TxD
RxD
Func.:
XPIN — XIRQ Interrupt Pin Status Flag
This is a read-only bit. XPIN reflects the logic level present on the XIRQ pin.
0 = XIRQ pin low.
1 = XIRQ pin high.
IPIN — IRQ Interrupt Pin Status Flag
This is a read-only bit. IPIN reflects the logic level present on the IRQ pin.
0 = IRQ pin low.
1 = IRQ pin high.
XPIN and IPIN are read-only status bits that reflect the logic levels present on the XIRQ and IRQ pins.
XPIN and IPIN provide the data bits that allow the XIRQ and IRQ pins to be used as general-purpose
inputs. However, to use XIRQ and IRQ as data inputs, the interrupts normally generated by these two
pins must be disabled with the DISX and DISI bits in the DDRD register.
After reset PD[1:0] are configured as high-impedance inputs. PD[1:0] share functions with the SCI sys-
tem. 8 Serial Communications Interface details information regarding port D SCI functions.
DDRD — Port D Data Direction
$1009
BIT 7
6
5
4
3
2
1
BIT 0
DISX
DISI
—
—
—
—
DDD1 DDD0
RESET:
0
0
0
0
0
0
0
0
DISX — Disable XIRQ Pin Interrupts
Can be read anytime. Can be written only once. Any write to the DDRD register will prevent modification
of this bit. This bit must be set to use the XIRQ pin as a data input.
0 = Interrupts generated by the XIRQ pin function are enabled
1 = Interrupts generated by the XIRQ pin function are disabled
DISI — Disable IRQ Pin Interrupts
Can be read anytime. Can be written only once. Any write to the DDRD register will prevent modification
of this bit. This bit must be set to use the IRQ pin as a data input.
0 = Interrupts generated by the IRQ pin function are enabled
1 = Interrupts generated by the IRQ pin function are disabled
DDD[1:0] — Data Direction for PD[1:0]
0 = Corresponding port D pin configured for input
1 = Corresponding port D pin configured for output
PORTE — Port E Data
$100A
BIT 7
6
5
4
3
2
1
BIT 0
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
RESET:
I
I
I
I
I
I
I
I
Port E has eight general-purpose input pins and shares functions with the A/D converter system. When
any port E pins are being used as A/D inputs, PORTE should not be read during the sample portion of
an A/D conversion. Refer to 9 Analog-to-Digital Converter for more information.
MC68HC11EA9
30
For More Information On This Product,
MC68HC11EA9TS/D
Go to: www.freescale.com