Freescale Semiconductor, Inc.
April 30, 1998
GENERAL RELEASE SPECIFICATION
triggering, the LED/IRQ pin requires an external resistor to VDD for “wired-OR”
operation. If the LED/IRQ is not used, it must be tied to the VDD supply. The
contains an internal Schmitt trigger as part of its input to improve noise immunity.
When this pin is LED, the LED bit in the MISCR controls the on/off function of the
connected LED. This LED pin sinks current via an internal pulldown resistor.
BIT 7
IRQEN
0
BIT 6
IRQS
0
BIT 5
BIT 4
BIT 3
BIT 2
LED
0
BIT 1
COPON
0
BIT 0
POR
0
MICSR
$001C
RESET
R
TCMPEN TCAPEN
W
0
0
0
Figure 1-5. Miscellaneous Control and Status Register (MICSR)
IRQEN — External Interrupt Request Enable
0 = LED/IRQ pin con gured as LED dr ive pin.
1 = LED/IRQ pin con gured as IRQ input pin, for external interrupts.
LED — LED Drive Output Control
1 = Enable internal pulldown resistor, pin is logic low.
0 = Disable internal pulldown resistor, pin is in high impedance state.
1.4.5 PA0, PA1/DTMF, PA2/TCAP, PA3/TCMP, PA4-PA6
These eight I/O lines comprise port A, a general purpose bidirectional I/O port.
The state of any pin is software programmable and all port B lines are con gured
as inputs during power-on or reset.
PA0 is only available on MC68HC05PL4.
PA1 is shared with DTMF output of the DAC subsystem. This pin is con gured as
an output pin for DTMF.
PA2 is shared with TCAP input of the 16-bit timer. This pin is con gured as an
input pin for TCAP.
PA3 is shared with TCMP output of the 16-bit timer. This pin is con gured as an
output pin for TCMP.
PA5 and PA6 have high current sinking capability; see Electrical Speci cations
section for values.
1.4.6 PB0/KBI0-PB3/KBI3, PB4-PB7
These eight I/O lines comprise port B, a general purpose bidirectional I/O port.
The state of any pin is software programmable and all port B lines are con gured
as inputs during power-on or reset.
All port B pins have internal pullups which can be individually enabled by software.
PB0-PB3 also have keyboard interrupt capability, which can be individually
enabled.
MC68HC05PL4
REV 2.0
GENERAL DESCRIPTION
1-5
For More Information On This Product,
Go to: www.freescale.com