mc68hc05jp6pe Freescale Semiconductor, Inc, mc68hc05jp6pe Datasheet - Page 82

no-image

mc68hc05jp6pe

Manufacturer Part Number
mc68hc05jp6pe
Description
M68hc05 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Parallel Input/Output
7.3.4 Port A External Interrupts
7.3.5 Port A Logic
General Release Specification
82
NOTE:
PDIA5–PDIA0 — Port A Pulldown Inhibit Bits
A mask option enables the PA3–PA0 pins to serve as external interrupt
pins in addition to the IRQ pin. The active interrupt state for the
PA3–PA0 pins is a logic one or a rising edge. Another mask option also
determines whether external interrupt inputs are edge-sensitive only or
both edge- and level-sensitive. Port A interrupts are also interactive with
each other and the IRQ pin as described in
When testing for external interrupts, the BIH and BIL instructions test the
voltage on the IRQ pin, not the state of the internal IRQ signal.
Therefore, BIH and BIL cannot test the port A external interrupt pins.
When a PA0:PA5 pin is programmed as an output, reading the port bit
actually reads the value of the data latch and not the voltage on the pin
itself. When a PA0:PA5 pin is programmed as an input, reading the port
bit reads the voltage level on the pin. The data latch can always be
written, regardless of the state of its DDR bit.
logic of PA0:PA5 pins of port A.
The data latch can always be written, regardless of the state of its DDR
bit.
Writing to these write-only bits controls the port A pulldown devices.
Reading these pulldown register A bits returns undefined data. Reset
clears bits PDIA5–PDIA0.
Table 7-1
1 = Corresponding port A pin pulldown device turned off
0 = Corresponding port A pin pulldown device turned on if pin has
been programmed by the DDRA to be an input
summarizes the operations of the port A pins.
Parallel Input/Output
MC68HC05JJ6/MC68HC05JP6
4.6 External
Figure 7-4
Freescale Semiconductor
shows the I/O
Interrupts.
Rev. 3.2

Related parts for mc68hc05jp6pe