Chapter 7. Interrupt Controller
7-3
Interrupt Controller Registers
All external interrupt inputs are edge sensitive, with the active edge being programmable
through PITR. An interrupt must remain asserted for at least three consecutive rising edges
of CPU_ExtCLK to be considered valid. The priority level of each interrupt source is
programmed through the ICRs.
The MCF5272 does not support auto-vectored interrupts. Interrupt service routines for all
interrupts should have vectors in the user-defined interrupt region of the vector table
(vectors 64–255). The location of these vectors is programmable through the PIVR. For
more information on the servicing of interrupts, see Chapter 2, “ColdFire Core.” Pending
interrupts from external sources (INT[6:1]) can be cleared using the ICRs.
For an interrupt to be successfully processed, stack RAM must be available. A
programmable chip select is often used for the RAM, in which case, the RAM is not
immediately available at startup. Thus, no interrupts are recognized until PIVR is
initialized. The RAM chip select and system stack should be set up before this initialization.
If more than one interrupt source has the same interrupt priority level (IPL), the interrupt
controller daisy chains the interrupts with the priority order following the bit placement in
the PIWR, with INT1 having the highest priority and SWTO having the lowest priority, as
shown in Figure 7-8.
7.2.1 Interrupt Controller Registers
This section describes the registers associated with the interrupt controller. Table 7-2 gives
the nomenclature used for the interrupt and power management registers.
0x030
Interrupt source register (ISR) [p. 7-6]
0x034
Programmable interrupt transition register (PITR) [p. 7-8]
0x038
Programmable interrupt wakeup register (PIWR) [p. 7-9]
0x03C
Reserved
Programmable interrupt
vector register (PIVR)
Table 7-2. Interrupt and Power Management Register Mnemonics
Mnemonic or Portion Thereof
Description
INT1, INT2, INT3, INT4, INT5, INT6
External interrupt signals 1–6.
TMR1, TMR2, TMR3, TMR4
Timers 1–4 from timer module
USB0, USB1, USB2, USB3, USB4, USB5,
USB6, USB7
USB endpoint 0–7
UART1, UART2
UART1, UART2 modules
PLIP
PLIC 2-KHz periodic interrupt, 2B+D data
PLIA
PLIC asynchronous and maintenance channels interrupt
DMA
DMA controller interrupt
Table 7-1. Interrupt Controller Registers
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...