mc68hc05pl4b Freescale Semiconductor, Inc, mc68hc05pl4b Datasheet - Page 15

no-image

mc68hc05pl4b

Manufacturer Part Number
mc68hc05pl4b
Description
Low-cost Single-chip Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.4.5 PA0, PA1/DTMF, PA2/TCAP, PA3/TCMP, PA4-PA6
1.4.6 PB0/KBI0-PB3/KBI3, PB4-PB7
MC68HC05PL4
REV 2.0
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.
IRQEN — External Interrupt Request Enable
LED — LED Drive Output Control
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.
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.
RESET
MICSR
$001C
0 = LED/IRQ pin con gured as LED dr ive pin.
1 = LED/IRQ pin con gured as IRQ input pin, for external interrupts.
1 = Enable internal pulldown resistor, pin is logic low.
0 = Disable internal pulldown resistor, pin is in high impedance state.
Figure 1-5. Miscellaneous Control and Status Register (MICSR)
W
R
IRQEN
BIT 7
0
Freescale Semiconductor, Inc.
For More Information On This Product,
IRQS
BIT 6
0
GENERAL DESCRIPTION
Go to: www.freescale.com
TCMPEN
BIT 5
April 30, 1998
0
TCAPEN
BIT 4
0
GENERAL RELEASE SPECIFICATION
BIT 3
0
BIT 2
LED
0
COPON
BIT 1
0
BIT 0
POR
0
1-5

Related parts for mc68hc05pl4b