![Rabbit Rabbit 4000 User Manual Download Page 302](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714302.webp)
292
Rabbit 4000 Microprocessor User’s Manual
27.3.7 Handling Interrupts in the System/User Mode
Interrupts,
RST
s,
SYSCALL
, and
SCALL
all enter the System Mode automatically. There
will be times, however, that an interrupt should be handled in the User Mode. The solution
to this is for System Mode interrupt vector to reenter the User Mode before calling the
User Mode interrupt handler. An example of both system and user interrupt handling is
shown in Figure 27-4.
When enabled for User Mode access, a peripheral interrupt (if it is capable of generating
an interrupt) can only be requested at Priority 2 or 1.
Figure 27-4. Interrupt Handing in the System/User Mode
Application code (user)
Application code (user)
Application ISR (user)
ISR
(system)
ISR
(system)
Application code (user)
Application code (user)
ISR (system)
INTERRUPT UNDER SYSTEM CONTROL
INTERRUPT UNDER USER CONTROL
Summary of Contents for Rabbit 4000
Page 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Page 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Page 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Page 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Page 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Page 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Page 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Page 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Page 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Page 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Page 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Page 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Page 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Page 348: ...338 Rabbit 4000 Microprocessor User s Manual...