Renesas M3T-MR100 Uživatelský manuál Strana 33

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 304
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 32
- 19 -
Service Calls from a Handler That Caused an Interrupt during Handler Execution
Let u
s think of a situation in which an interrupt occurs during handler execution (this handler is hereinafter referred to as
handler A for explanation purposes). When task switching is called for as a handler (hereinafter referred to as handler B)
that caused an interrupt during handler A execution issued a service call, task switching does not take place during the exe-
cution of the service call (ret_int service call) returned from handler B, but is effected by the ret_int service call from han-
dler A (See Figure 3.13).
ret_int
ret_int
iset_flg
I
nterrupt
Interrupt
TaskA
Interrupt handler A
Save Registers
Service call processing
OS
Restore Register
SP <= User
Restore Registers
Task selection
TaskB
Save Registers
SP <= System
Interrupt handler A
Restore Register
Figure 3.13 Processing Procedure for a service call from a Multiplex interrupt Handler
Zobrazit stránku 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 303 304

Komentáře k této Příručce

Žádné komentáře