Renesas M3T-MR100 Manual de usuario Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 303 304

Comentarios a estos manuales

Sin comentarios