9-6
MC68VZ328 User’s Manual
Vector Generation
9.4.2
Interrupt Vectors
The MC68VZ328 provides one interrupt vector for each of the seven user interrupt levels. These interrupt
vectors form the user interrupt vector section of Table 9-1 on page 9-3. The user interrupt vectors can be
located anywhere within the 0x100 to 0x400 address range. The 5 most significant bits of the interrupt
vector number are programmable, but the lower 3 bits reflect the interrupt level being serviced. All
interrupts are maskable by the interrupt controller. If an interrupt is masked, its status can still be accessed
in the interrupt pending register (IPR).
9.5
Vector Generation
The interrupt controller provides a vector number to the core. You can program the upper 5 bits of the
interrupt vector register (IVR) to allow the interrupt vector number to point to any address in the exception
vector table. However, many of the vector addresses are assigned to the core’s internal exceptions and
cannot be reused. This leaves only a small range of address space (0x100 to 0x400) to which you can
configure the IVR to locate user interrupt vectors. For example, if you write a value of 0x40 to the IVR, the
interrupt vector base is set to point to 0x100 (0x40<<2), which is the beginning of the user interrupt vectors
shown in Table 9-1 on page 9-3. The coding for the vector numbers is provided in Table 9-2.
Table 9-2. Interrupt Vector Numbers
Interrupt
Vector Number
Level 7
xxxxx111
Level 6
xxxxx110
Level 5
xxxxx101
Level 4
xxxxx100
Level 3
xxxxx011
Level 2
xxxxx010
Level 1
xxxxx001
Note:
xxxxx is replaced by the upper 5 bits of the
interrupt vector register.
Содержание MC68VZ328
Страница 1: ...MC68VZ328UM D Rev 0 02 2000 MC68VZ328 Integrated Processor User s Manual ...
Страница 14: ...xiv MC68VZ328 User s Manual ...
Страница 18: ...xviii MC68VZ328 User s Manual ...
Страница 26: ...xxvi MC68VZ328 User s Manual ...
Страница 42: ...1 12 MC68VZ328 User s Manual Modules of the MC68VZ328 ...
Страница 54: ...2 12 MC68VZ328 User s Manual In Circuit Emulation ICE Signals ...
Страница 68: ...3 14 MC68VZ328 User s Manual Programmer s Memory Map ...
Страница 110: ...6 22 MC68VZ328 User s Manual Programming Model ...