mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 406

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Interrupt Exceptions
The MCF5307 has the following two levels of interrupt masking:
The MCF5307 continuously samples and synchronizes external interrupt inputs. An
interrupt request must be held for at least two consecutive BCLKO periods to be considered
valid. To guarantee that the interrupt is recognized, the request level must be maintained
until the MCF5307 acknowledges the interrupt with an interrupt-acknowledge cycle.
The MCF5307 takes an interrupt exception for a pending interrupt within one instruction
boundary after processing any higher-priority pending exception. Thus, the MCF5307
executes at least one instruction in an interrupt exception handler before recognizing
another interrupt request.
If autovector generation is used for internal interrupts (ICRn[AVEC] = 1), the interrupt
acknowledge vector is generated internally and no interrupt acknowledge cycle is generated
on the external bus.
If autovector generation is used for external interrupts, no interrupt acknowledge cycle is
shown on the external bus (AS is not asserted) unless AVR[BLK] is 0. Consequently, the
external interrupt must be cleared in the interrupt service routine. See Section 9.2.2,
“Autovector Register (AVR).”
18.7.1 Level 7 Interrupts
Level 7 interrupts are nonmaskable and are handled differently than other interrupts.
Level 7 interrupts are edge triggered by a transition from a lower priority request to the
level 7 request. Interrupts at all other levels are level sensitive. Therefore, if IRQ7 remains
asserted, the MCF5307 recognizes only one level 7 interrupt because only one transition
from a lower level request to a level 7evel 7 request occurred. For the processor to
recognize two consecutive level 7 interrupts, one of the following must occur:
18-18
• Interrupt mask registers in the SIM compare interrupt inputs with programmable
• The status register uses a 3-bit interrupt priority mask. The core recognizes only
interrupt mask levels. The SIM outputs only unmasked interrupts.
interrupt requests of higher priority than the value in the mask. See Section 2.2.2.1,
“Status Register (SR).”
To mask a level 1–6 interrupt source, write a higher-level SR
interrupt mask before setting IMR. Then restore the mask to its
previous value. Do not mask a level 7 interrupt source.
Interrupt levels 1–7 are level-sensitive. Level 7 is also
edge-triggered. See Section 18.7.1, “Level 7 Interrupts.”
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
MCF5307 User’s Manual
NOTE:
NOTE:

Related parts for mcf5307cft90b