mc68hc908kx8 Freescale Semiconductor, Inc, mc68hc908kx8 Datasheet - Page 93

no-image

mc68hc908kx8

Manufacturer Part Number
mc68hc908kx8
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908kx8CDW
Manufacturer:
FSC
Quantity:
364
Part Number:
mc68hc908kx8CDW
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908kx8CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908kx8CDWE
Quantity:
588
Part Number:
mc68hc908kx8MDWE
Manufacturer:
MOT
Quantity:
6 238
Company:
Part Number:
mc68hc908kx8VP
Quantity:
13
The vector fetch or software clear may occur before or after the interrupt pin returns to logic 1. As long as
the pin is low, the interrupt request remains pending. A reset will clear the latch and the MODE1 control
bit, thereby clearing the interrupt even if the pin stays low.
When set, the IMASK1 bit in the ISCR masks all external interrupt requests. A latched interrupt request
is not presented to the interrupt priority logic unless the IMASK1 bit is clear.
8.4 IRQ1 Pin
A logic 0 on the IRQ1 pin can latch an interrupt request into the IRQ1 latch. A vector fetch, software clear,
or reset clears the IRQ1 latch.
If the MODE1 bit is set, the IRQ1 pin is both falling-edge sensitive and low-level sensitive. With MODE1
set, both of the following actions must occur to clear the IRQ1 latch:
Freescale Semiconductor
Vector fetch or software clear — A vector fetch generates an interrupt acknowledge signal to clear
the latch. Software may generate the interrupt acknowledge signal by writing a 1 to the ACK1 bit
in the interrupt status and control register (ISCR). The ACK1 bit is useful in applications that poll
the IRQ1 pin and require software to clear the IRQ1 latch. Writing to the ACK1 bit can also prevent
spurious interrupts due to noise. Setting ACK1 does not affect subsequent transitions on the IRQ1
pin. A falling edge on the IRQ1 pin that occurs after writing to the ACK1 bit latches another interrupt
request. If the IRQ1 mask bit, IMASK1, is clear, the CPU loads the program counter with the vector
address at locations $FFFA and $FFFB.
Return of the IRQ1 pin to logic 1 — As long as the IRQ1 pin is at logic 0, the IRQ1 latch remains
set.
IRQ1
DECODER
VECTOR
V
FETCH
The interrupt mask (I) in the condition code register (CCR) masks all
interrupt requests, including external interrupt requests.
DD
INTERNAL
PULLUP
DEVICE
ACK1
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
V
MODE1
DD
D
CK
LATCH
Figure 8-2. IRQ Block Diagram
IRQ1
CLR
Q
NOTE
IMASK1
SYNCHRONIZER
VOLTAGE
DETECT
HIGH
IRQF1
TO CPU FOR
BIL/BIH
INSTRUCTIONS
IRQ1
INTERRUPT
REQUEST
TO MODE
SELECT
LOGIC
IRQ1 Pin
93

Related parts for mc68hc908kx8