![Rabbit Rabbit 4000 Скачать руководство пользователя страница 297](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714297.webp)
287
27.3 Operation
The System/User Mode is designed to work with the memory and stack protection features
of the Rabbit 4000 processor to provide a seamless framework for protection of critical
code. However, there are many levels at which the System/User Mode can be used —
some examples are described here.
27.3.1 Memory Protection Only
At the beginning of the user program, all necessary peripherals are enabled, all peripheral
interrupts to be used are set up for the User Mode, critical memory regions are protected,
stack limits are set, and the various system/memory/stack violation interrupts are enabled.
The processor then enters the User Mode and remains in the User Mode for all operations
(interrupts can be handled however the user desires). Obviously the critical interrupts can
be handled in the System Mode, but at that point the device is typically reset and the error
is logged. Figure 27-1 shows an overview of this level of operation.
Figure 27-1. System/User Mode Setup for Memory Protection Only
Critical
Interrupts
System Mode
User Mode
Application
code
Interrupts
Critical
interrupts
Содержание Rabbit 4000
Страница 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Страница 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Страница 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Страница 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Страница 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Страница 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Страница 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Страница 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Страница 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Страница 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Страница 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Страница 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Страница 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Страница 348: ...338 Rabbit 4000 Microprocessor User s Manual...