Renesas M3T-MR100 Instrukcja Użytkownika Strona 263

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 304
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 262
249
[Precautions]
1. Regarding the method for specifying a register bank
No kernel interrupt handlers that use the registers in register bank 1 can be written in C language. These handlers can only
be written in assembly language. When writing in assembly language, write the entry and exit to and from the interrupt
handler as shown below.
(Always be sure to clear the B flag before issuing ret_int service call.)
Example: interrupt;
fset B
fclr B
ret_int
Internally in the MR100 kernel, register banks are not switched over.
2. Regarding the method for specifying a high-speed interrupt
To ensure the effective use of a high-speed interrupt, be sure that the registers in register bank 1 are used in the high-speed
interrupt. Also be aware that the high-speed interrupts used cannot be a kernel interrupt handler..
Przeglądanie stron 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 303 304

Komentarze do niniejszej Instrukcji

Brak uwag