
Interrupt Controller Modules
14-16
Freescale Semiconductor
14.3
Functional Description
14.3.1
Interrupt Controller Theory of Operation
To support the interrupt architecture of the 68K/ColdFire programming model, the 64 interrupt sources are
organized as 7 levels, with an arbitrary number of requests programmed to each level. The priority
structure within a single interrupt level depends on the interrupt source number assignments (see
Section 14.2.9.1, “Interrupt Sources”
). The higher numbered interrupt source has priority over the lower
numbered interrupt source. See the below table for an example.
The level is fully programmable for all sources. The 3-bit level is defined in the interrupt control register
(ICR0
n,
ICR1
n
).
The operation of the interrupt controller can be broadly partitioned into three activities:
Address: 0xFC04_80E0 (SWIACK0)
0xFC4n (LnIACK0) n=1:7
0xFC04_C0E0 (SWIACK1)
0xFC4n (LnIACK1) n=1:7
0xFC05_40E0 (GSWIACK)
0xFC4n (GLnIACK) n=1:7
Access: User read-only
7
6
5
4
3
2
1
0
R
VECTOR
W
Reset
(SWIACKn):
0
0
0
0
0
0
0
0
Reset
(LnIACKn):
0
0
0
1
1
0
0
0
Figure 14-13. Software and Level n IACK Registers (SWIACKn, L1IACKn – L7IACKn)
Table 14-17. SWIACKn and LxIACKn Field Descriptions
Field
Description
7–0
VECTOR
Vector number. A read from the SWIACK register returns the vector number associated with the highest priority
pending interrupt source. A read from one of the LnIACK registers returns the highest priority unmasked interrupt
source within the level.
A write to any IACK register causes an error termination.
Table 14-18. Example Interrupt Priority Within a Level
Interrupt Source
ICR[2:0]
Priority
40
011
Highest
22
011
8
011
2
011
Lowest
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...