mcf51ac256a Freescale Semiconductor, Inc, mcf51ac256a Datasheet - Page 303

no-image

mcf51ac256a

Manufacturer Part Number
mcf51ac256a
Description
Mcf51ac Flexis
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCLKE
Manufacturer:
FREESCALE
Quantity:
1 500
Part Number:
mcf51ac256aCLKE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCPUE
Manufacturer:
MURATA
Quantity:
1 000
13.3.6
The eight read-only interrupt acknowledge (IACK) registers can be explicitly addressed by the
memory-mapped accesses or implicitly addressed by a processor-generated interrupt acknowledge cycle
during exception processing when CPUCR[IAE] is set. In either case, the interrupt controller's actions are
similar.
First, consider an IACK cycle to a specific level, a level-n IACK. When this type of IACK arrives in the
interrupt controller, the controller examines all currently-active level-n interrupt requests, determines the
highest priority within the level, and then responds with the unique vector number corresponding to that
specific interrupt source. The vector number is supplied as the data for the byte-sized IACK read cycle.
If there is no active interrupt source at the time of the level-n IACK, a special spurious interrupt vector
(vector number 24 (0x18)) is returned. It is the responsibility of the service routine to manage this error
situation.
This protocol implies the interrupting peripheral is not accessed during the acknowledge cycle because the
interrupt controller completely services the acknowledge. This means the interrupt source must be
explicitly disabled in the peripheral device by the interrupt service routine. This approach provides unique
vector capability for all interrupt requests, regardless of the complexity of the peripheral device.
Second, the interrupt controller also supports the concept of a software IACK. This is the ability to query
the interrupt controller near the end of an interrupt service routine (after the current interrupt request has
been negated) to determine if there are any pending (but currently masked) interrupt requests. If the
response to the software IACK's byte operand read is non-zero, the service routine uses the returned value
as the vector number of the highest pending interrupt request and passes control to the appropriate new
handler. If the returned value is zero, there is no pending interrupt request.
This process avoids the overhead of a context restore and RTE instruction execution, followed
immediately by another interrupt exception and context save. In system environments with high rates of
interrupt activity, this mechanism can noticeably improve overall performance. For additional details on
software IACKs, see
Freescale Semiconductor
LVLnIACK Reset
SWIACK Reset
Offset: CF1_INTC_BASE + 0x20 (INTC_SWIACK)
Table 13-9. Software and Level-n IACK Registers (INTC_SWIACK, INTC_LVLnIACK)
INTC Software and Level-n IACK Registers (n = 1,2,3,...,7)
W
R
CF1_INTC_BASE + 0x20 + (4×n) (INTC_LVLnIACK)
MCF51AC256 ColdFire Integrated Microcontroller Reference Manual, Rev. 5
7
0
0
0
Section 13.6.3, “More on Software IACKs.”
0
0
6
0
0
5
0
1
4
VECN
0
1
3
2
0
0
Interrupt Controller (CF1_INTC)
0
0
1
Access: Read-only
0
0
0
13-13

Related parts for mcf51ac256a